aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 8ff869c..226f71b 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -753,6 +753,7 @@ void GpgWin::verify()
qDebug() << "sign->fpr:" << sign->fpr;
verifyLabelText.append(" not present.");
*vn->keysNotInList << sign->fpr;
+ vn->setProperty("keyNotFound", true);
} else {
QString name = mKeyList->getKeyNameByFpr(sign->fpr);
QString email = "<"+mKeyList->getKeyEmailByFpr(sign->fpr)+">";
@@ -762,6 +763,7 @@ void GpgWin::verify()
verifyLabelText.append(name);
verifyLabelText.append(email);
verifyLabelText.append(gpg_strerror(sign->status));
+ vn->setProperty("keyFound", true);
}
verifyLabelText.append(".\n");
qDebug() << "sig summary: " << sign->summary;
@@ -775,7 +777,8 @@ void GpgWin::verify()
verifyLabelText.remove(verifyLabelText.length()-1,1);
vn->setVerifyLabel(verifyLabelText);
- edit->curPage()->showNotificationWidget(vn);
+ edit->curPage()->removeNoteByClass("verifyNotification");
+ edit->curPage()->showNotificationWidget(vn, "verifyNotification");
}
void GpgWin::importKeyDialog()