From 7df096cffe4806fbc1e13fbcc3170933876a115a Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 11 Oct 2011 20:29:14 +0000 Subject: moved preventnodataerr to context.cpp, added refresh slots for verify git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@544 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- verifynotification.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'verifynotification.cpp') diff --git a/verifynotification.cpp b/verifynotification.cpp index 36cb9e8..0068638 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -29,6 +29,8 @@ VerifyNotification::VerifyNotification(QWidget *parent, GpgME::Context *ctx, Key mSignature = sign; verifyLabel = new QLabel(this); + connect(mCtx, SIGNAL(keyDBChanged()), this, SLOT(refresh())); + importFromKeyserverAct = new QAction(tr("Import missing key from Keyserver"), this); connect(importFromKeyserverAct, SIGNAL(triggered()), this, SLOT(importFromKeyserver())); @@ -84,3 +86,8 @@ void VerifyNotification::showVerifyDetails() { new VerifyDetailsDialog(this, mCtx, mKeyList, mSignature); } + +void VerifyNotification::refresh() +{ + qDebug() << "refresh signal called"; +} -- cgit v1.2.3