From 36dd70c7d8f16e53200a2d2ae6b4f555e9dcddbe Mon Sep 17 00:00:00 2001 From: nils Date: Sat, 27 Aug 2011 12:37:46 +0000 Subject: umlaute are handled correctly while signing git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@521 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- gpgwin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gpgwin.cpp') 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 -- cgit