aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-27 14:37:46 +0200
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-08-27 14:37:46 +0200
commit36dd70c7d8f16e53200a2d2ae6b4f555e9dcddbe (patch)
tree1029d7868d9e45913de6d3f91d3e746630ced981
parentignore whitespaces at end and before text when checking, if message is comple... (diff)
downloadgpg4usb-36dd70c7d8f16e53200a2d2ae6b4f555e9dcddbe.tar.gz
gpg4usb-36dd70c7d8f16e53200a2d2ae6b4f555e9dcddbe.zip
umlaute are handled correctly while signing
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@521 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--TODO5
-rw-r--r--gpgwin.cpp3
2 files changed, 5 insertions, 3 deletions
diff --git a/TODO b/TODO
index b42645c..157943d 100644
--- a/TODO
+++ b/TODO
@@ -13,7 +13,7 @@ Release 0.3.1
- inform user about verification errors
- enum for verify status [DONE]
- put sign/verify to toolbar and add shortcuts [DONE]
-- umlaute are not handled correctly in signing
+- umlaute are not handled correctly in signing [DONE]
- beautify icons for verify and sign
BUGS:
@@ -25,7 +25,8 @@ Release 0.3.2
- check and add missing statusbar messages
- set mainwindow-statusbar text via signal
- more doku on building gpg4usb (especially on windows)
-- check class / includes
+- check class / includes
+- clear cache nach Programmende (siehe kbasket)
- check pointer usage (const/references)
- add posibility to change password of key
- make keylist browsable with keyboard
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 937ccb8..76cfda8 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -658,7 +658,8 @@ void GpgWin::sign()
QStringList *uidList = mKeyList->getChecked();
QByteArray *tmp = new QByteArray();
- if (mCtx->sign(uidList, edit->curTextPage()->toPlainText().toUtf8(), tmp)) {
+ // TODO: toUtf8() here?
+ if (mCtx->sign(uidList, edit->curTextPage()->toPlainText().toAscii(), tmp)) {
QString *tmp2 = new QString(*tmp);
// beginEditBlock and endEditBlock() let operation look like single undo/redo operation