aboutsummaryrefslogtreecommitdiffstats
path: root/verifynotification.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2014-01-03 22:23:23 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2014-01-03 22:23:23 +0000
commit7b516ff4cf154dee119b24d4bed40c5646f5f10f (patch)
tree64eaf7a12f05fd881e7e766c7244f1164a103f89 /verifynotification.cpp
parentbranch 0.3.3 (diff)
parentchanged digest algo to sha512 (described under http://www.apache.org/dev/open... (diff)
downloadgpg4usb-7b516ff4cf154dee119b24d4bed40c5646f5f10f.tar.gz
gpg4usb-7b516ff4cf154dee119b24d4bed40c5646f5f10f.zip
moved branch 0.3.2-1 to 0.3.3
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.3@1084 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r--verifynotification.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp
index 1230534..3e056b9 100644
--- a/verifynotification.cpp
+++ b/verifynotification.cpp
@@ -87,9 +87,7 @@ void VerifyNotification::showImportAction(bool visible)
void VerifyNotification::showVerifyDetails()
{
- QByteArray text = mTextpage->toPlainText().toUtf8();
- mCtx->preventNoDataErr(&text);
- new VerifyDetailsDialog(this, mCtx, mKeyList, &text);
+ new VerifyDetailsDialog(this, mCtx, mKeyList, mTextpage);
}
bool VerifyNotification::refresh()
@@ -100,7 +98,7 @@ bool VerifyNotification::refresh()
mCtx->preventNoDataErr(&text);
int textIsSigned = mCtx->textIsSigned(text);
- gpgme_signature_t sign = mCtx->verify(&text);
+ gpgme_signature_t sign = mCtx->verify(text);
if (sign == NULL) {
return false;