aboutsummaryrefslogtreecommitdiffstats
path: root/mainwindow.cpp
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-05 21:42:14 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-03-05 21:42:14 +0000
commiteb485c26d4f74441adda6222304f85b40a5131b4 (patch)
tree05d7e6379e3288829f46cdd4c57ef94d3fbc8c0d /mainwindow.cpp
parentupdated russian translation (diff)
downloadgpg4usb-eb485c26d4f74441adda6222304f85b40a5131b4.tar.gz
gpg4usb-eb485c26d4f74441adda6222304f85b40a5131b4.zip
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
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r--mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 84da541..72a559e 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -789,8 +789,8 @@ void MainWindow::sign()
QStringList *uidList = mKeyList->getPrivateChecked();
QByteArray *tmp = new QByteArray();
- // TODO: toUtf8() here?
- if (mCtx->sign(uidList, edit->curTextPage()->toPlainText().toAscii(), tmp)) {
+
+ if (mCtx->sign(uidList, edit->curTextPage()->toPlainText().toUtf8(), tmp)) {
QString *tmp2 = new QString(*tmp);
edit->fillTextEditWithText(*tmp2);
}