From f94e3f2b3cd982f825d5e485834ea9389060adaa Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 7 Feb 2016 14:04:17 +0100 Subject: refactored slots and signals --- keylist.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'keylist.cpp') diff --git a/keylist.cpp b/keylist.cpp index ff39678..c89b4d8 100644 --- a/keylist.cpp +++ b/keylist.cpp @@ -58,12 +58,12 @@ KeyList::KeyList(GpgME::GpgContext *ctx, QWidget *parent) setLayout(layout); popupMenu = new QMenu(this); - connect(mCtx, SIGNAL(keyDBChanged()), this, SLOT(refresh())); + connect(mCtx, SIGNAL(signalKeyDBChanged()), this, SLOT(slotRefresh())); setAcceptDrops(true); - refresh(); + slotRefresh(); } -void KeyList::refresh() +void KeyList::slotRefresh() { QStringList *keyList; keyList = getChecked(); -- cgit v1.2.3