diff options
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; |