aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-13 03:14:20 +0200
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-13 03:14:20 +0200
commit8fb695a304f1ae1b53c500912d23de63e8bf2340 (patch)
treed8a1a646d9670b37680e0ca403f3c4bd041ea8ff /gpgwin.cpp
parentfurther comments (diff)
downloadgpg4usb-8fb695a304f1ae1b53c500912d23de63e8bf2340.tar.gz
gpg4usb-8fb695a304f1ae1b53c500912d23de63e8bf2340.zip
changed verifylabel to verifylabellist and added states ok,warn,crit for verifylabels
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@514 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index d3edd1a..529184b 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -784,7 +784,7 @@ void GpgWin::verify()
qDebug() << "sig validity reason: " << sign->validity_reason << " - " << gpg_err_code(sign->validity_reason) << " - " << gpgme_strerror(sign->validity_reason);
sign = sign->next;
}
- vn->setVerifyDetailText(*verifyDetailText);
+ //vn->setVerifyDetailText(*verifyDetailText);
// If an unknown key is found, enable the importfromkeyserveraction
if (unknownKeyFound) {
@@ -795,8 +795,11 @@ void GpgWin::verify()
// Remove the last linebreak
verifyLabelText.remove(verifyLabelText.length()-1,1);
+ vn->addVerifyLabel(verifyLabelText,"ok");
+ vn->addVerifyLabel(verifyLabelText,"warning");
+ vn->addVerifyLabel(verifyLabelText,"critical");
- vn->setVerifyLabel(verifyLabelText);
+// vn->setVerifyLabel(verifyLabelText);
edit->curPage()->showNotificationWidget(vn, "verifyNotification");
}