diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-01 19:36:48 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-01 19:36:48 +0000 |
commit | b57b5935b14dc40e5cd1d51de833c13dec37dbc8 (patch) | |
tree | fb8775f6b239dde8ccfaee60c00cd85b4bc58885 /mainwindow.cpp | |
parent | updated brasilian translation (diff) | |
download | gpg4usb-b57b5935b14dc40e5cd1d51de833c13dec37dbc8.tar.gz gpg4usb-b57b5935b14dc40e5cd1d51de833c13dec37dbc8.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/trunk@820 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 4 |
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); } |