aboutsummaryrefslogtreecommitdiffstats
path: root/gpgwin.cpp
diff options
context:
space:
mode:
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