diff options
author | Ubbo Veentjer <[email protected]> | 2017-12-30 23:50:55 +0000 |
---|---|---|
committer | Ubbo Veentjer <[email protected]> | 2017-12-30 23:50:55 +0000 |
commit | d327c06ebb5138359e875e8f9a7ac242de45c158 (patch) | |
tree | 653664e755ddbfcc00389e2a0075a2a2386536b1 /verifynotification.cpp | |
parent | recommit of a06539af3448396f56a44d6859f2a54b787cdd8d (sign files integrated) (diff) | |
download | gpg4usb-d327c06ebb5138359e875e8f9a7ac242de45c158.tar.gz gpg4usb-d327c06ebb5138359e875e8f9a7ac242de45c158.zip |
verify files readded (4ecc173307c8c1ed13f28b6955484a484a25402a to 7c874c55c8242baaa770c46718a5c66b3bf8284a)
Diffstat (limited to 'verifynotification.cpp')
-rw-r--r-- | verifynotification.cpp | 6 |
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; |