aboutsummaryrefslogtreecommitdiffstats
path: root/verifynotification.cpp
diff options
context:
space:
mode:
authorUbbo Veentjer <[email protected]>2017-12-30 23:50:55 +0000
committerUbbo Veentjer <[email protected]>2017-12-30 23:50:55 +0000
commitd327c06ebb5138359e875e8f9a7ac242de45c158 (patch)
tree653664e755ddbfcc00389e2a0075a2a2386536b1 /verifynotification.cpp
parentrecommit of a06539af3448396f56a44d6859f2a54b787cdd8d (sign files integrated) (diff)
downloadgpg4usb-d327c06ebb5138359e875e8f9a7ac242de45c158.tar.gz
gpg4usb-d327c06ebb5138359e875e8f9a7ac242de45c158.zip
verify files readded (4ecc173307c8c1ed13f28b6955484a484a25402a to 7c874c55c8242baaa770c46718a5c66b3bf8284a)
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 344cbab..6e73961 100644
--- a/verifynotification.cpp
+++ b/verifynotification.cpp
@@ -87,7 +87,9 @@ void VerifyNotification::showImportAction(bool visible)
void VerifyNotification::slotShowVerifyDetails()
{
- new VerifyDetailsDialog(this, mCtx, mKeyList, mTextpage);
+ QByteArray text = mTextpage->toPlainText().toUtf8();
+ mCtx->preventNoDataErr(&text);
+ new VerifyDetailsDialog(this, mCtx, mKeyList, &text);
}
bool VerifyNotification::slotRefresh()
@@ -98,7 +100,7 @@ bool VerifyNotification::slotRefresh()
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;