diff options
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"; +} |