From eb485c26d4f74441adda6222304f85b40a5131b4 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 5 Mar 2012 21:42:14 +0000 Subject: fix sign and verify bug with utf8, which was already fixed in 0.3.1.1 git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@833 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- verifynotification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'verifynotification.cpp') diff --git a/verifynotification.cpp b/verifynotification.cpp index 284d511..ce5979c 100644 --- a/verifynotification.cpp +++ b/verifynotification.cpp @@ -94,7 +94,7 @@ bool VerifyNotification::refresh() { verify_label_status verifyStatus=VERIFY_ERROR_OK; - QByteArray text = mTextpage->toPlainText().toAscii(); // TODO: toUtf8() here? + QByteArray text = mTextpage->toPlainText().toUtf8(); mCtx->preventNoDataErr(&text); int textIsSigned = mCtx->textIsSigned(text); -- cgit v1.2.3