aboutsummaryrefslogtreecommitdiffstats
path: root/verifynotification.cpp
diff options
context:
space:
mode:
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;