diff options
| author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-13 03:14:20 +0200 |
|---|---|---|
| committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-08-13 03:14:20 +0200 |
| commit | 8fb695a304f1ae1b53c500912d23de63e8bf2340 (patch) | |
| tree | d8a1a646d9670b37680e0ca403f3c4bd041ea8ff /gpgwin.cpp | |
| parent | further comments (diff) | |
| download | gpg4usb-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.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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"); } |
