aboutsummaryrefslogtreecommitdiffstats
path: root/verifynotification.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-05-01 11:27:14 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-05-01 11:27:14 +0000
commit4ecc173307c8c1ed13f28b6955484a484a25402a (patch)
tree9a08a04864f4818a88a66c6860101e394f8b76d7 /verifynotification.cpp
parentsign files integrated (diff)
downloadgpg4usb-4ecc173307c8c1ed13f28b6955484a484a25402a.tar.gz
gpg4usb-4ecc173307c8c1ed13f28b6955484a484a25402a.zip
verify for files (not yet working)
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@909 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r--verifynotification.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/verifynotification.cpp b/verifynotification.cpp
index 3e056b9..1230534 100644
--- a/verifynotification.cpp
+++ b/verifynotification.cpp
@@ -87,7 +87,9 @@ void VerifyNotification::showImportAction(bool visible)
void VerifyNotification::showVerifyDetails()
{
- new VerifyDetailsDialog(this, mCtx, mKeyList, mTextpage);
+ QByteArray text = mTextpage->toPlainText().toUtf8();
+ mCtx->preventNoDataErr(&text);
+ new VerifyDetailsDialog(this, mCtx, mKeyList, &text);
}
bool VerifyNotification::refresh()
@@ -98,7 +100,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;