diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-05 21:42:44 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-05 21:42:44 +0000 |
commit | 025ceb7511e0bca1816530beb5c93a79ce011530 (patch) | |
tree | 83b528157ccd33e174551bdff0d011350441ca4c | |
parent | minor bugfixes in integrated help (diff) | |
download | gpg4usb-025ceb7511e0bca1816530beb5c93a79ce011530.tar.gz gpg4usb-025ceb7511e0bca1816530beb5c93a79ce011530.zip |
refixed signing with utf8
git-svn-id: http://cpunk.de/svn/src/gpg4usb/branches/0.3.2@841 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | mainwindow.cpp | 3 |
1 files changed, 1 insertions, 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)); } } |