From 8fb695a304f1ae1b53c500912d23de63e8bf2340 Mon Sep 17 00:00:00 2001 From: nils Date: Sat, 13 Aug 2011 01:14:20 +0000 Subject: 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 --- gpgwin.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gpgwin.cpp') 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"); } -- cgit