aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-05 21:42:44 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-05 21:42:44 +0000
commit025ceb7511e0bca1816530beb5c93a79ce011530 (patch)
tree83b528157ccd33e174551bdff0d011350441ca4c
parentminor bugfixes in integrated help (diff)
downloadgpg4usb-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.cpp3
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));
}
}