diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-02 22:02:49 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-02 22:02:49 +0000 |
commit | 599bc5e9efb8f72bf850e64bd091b328bc7d35a3 (patch) | |
tree | 2198315e0dfa96e28d448f2720b35252a87e8fd9 | |
parent | minor bugfixes in integrated help (diff) | |
download | gpg4usb-599bc5e9efb8f72bf850e64bd091b328bc7d35a3.tar.gz gpg4usb-599bc5e9efb8f72bf850e64bd091b328bc7d35a3.zip |
refixed signing with utf8
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@829 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)); } } |