From 025ceb7511e0bca1816530beb5c93a79ce011530 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 5 Mar 2012 21:42:44 +0000 Subject: refixed signing with utf8 git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@841 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- mainwindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 72a559e..2e067dc 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -791,8 +791,7 @@ void MainWindow::sign() QByteArray *tmp = new QByteArray(); if (mCtx->sign(uidList, edit->curTextPage()->toPlainText().toUtf8(), tmp)) { - QString *tmp2 = new QString(*tmp); - edit->fillTextEditWithText(*tmp2); + edit->fillTextEditWithText(QString::fromUtf8(*tmp)); } } -- cgit v1.2.3