diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-11 20:29:14 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-11 20:29:14 +0000 |
commit | 7df096cffe4806fbc1e13fbcc3170933876a115a (patch) | |
tree | eaeef8024c6466f28a350460f2890a19880e916b /verifynotification.cpp | |
parent | some commenting (diff) | |
download | gpg4usb-7df096cffe4806fbc1e13fbcc3170933876a115a.tar.gz gpg4usb-7df096cffe4806fbc1e13fbcc3170933876a115a.zip |
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
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r-- | verifynotification.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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"; +} |