From d327c06ebb5138359e875e8f9a7ac242de45c158 Mon Sep 17 00:00:00 2001 From: Ubbo Veentjer Date: Sun, 31 Dec 2017 00:50:55 +0100 Subject: verify files readded (4ecc173307c8c1ed13f28b6955484a484a25402a to 7c874c55c8242baaa770c46718a5c66b3bf8284a) --- verifynotification.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'verifynotification.cpp') 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; -- cgit v1.2.3