aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
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 /gpgwin.cpp
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
Diffstat (limited to 'gpgwin.cpp')
-rw-r--r--gpgwin.cpp3
1 files changed, 2 insertions, 1 deletions
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