diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-07-11 00:59:10 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-07-11 00:59:10 +0000 |
commit | a4f8dff6faaec18ffc43ce47f254e219a336a034 (patch) | |
tree | b5835929fd142b4b800ea9d43ceccf17d880826e /gpgwin.cpp | |
parent | removed margins in attachment-table (diff) | |
download | gpg4usb-a4f8dff6faaec18ffc43ce47f254e219a336a034.tar.gz gpg4usb-a4f8dff6faaec18ffc43ce47f254e219a336a034.zip |
added Qlabel at the buttom of textedit for verify
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@491 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r-- | gpgwin.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -694,7 +694,12 @@ void GpgWin::sign() void GpgWin::verify() { - mCtx->verify(edit->curTextPage()->toPlainText().toUtf8()); + int error = mCtx->verify(edit->curTextPage()->toPlainText().toUtf8()); + if (error == 0) { + edit->curPage()->showVerifyLabel(true); + } else { + edit->curPage()->showVerifyLabel(false); + } } void GpgWin::importKeyDialog() |