diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-25 13:31:50 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-03-25 13:31:50 +0000 |
commit | 73a45d6158052725b63a58606d06e9f18f2a1097 (patch) | |
tree | b40aa3b7434d4ee748a2d9cd2218a1c582533b18 | |
parent | only use one qt translation file per language (independend of windows and lin... (diff) | |
download | gpg4usb-73a45d6158052725b63a58606d06e9f18f2a1097.tar.gz gpg4usb-73a45d6158052725b63a58606d06e9f18f2a1097.zip |
change name and comment lineedits in key generation to utf8, so that encoding in the keys is proper
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@864 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | keygendialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keygendialog.cpp b/keygendialog.cpp index 67c986f..83c4096 100644 --- a/keygendialog.cpp +++ b/keygendialog.cpp @@ -148,9 +148,9 @@ void KeyGenDialog::keyGenAccept() "Subkey-Length: " + keySizeSpinBox->cleanText() + "\n"; } - keyGenParams += "Name-Real: " + nameEdit->text() + "\n"; + keyGenParams += "Name-Real: " + nameEdit->text().toUtf8() + "\n"; if (!(commentEdit->text().isEmpty())) { - keyGenParams += "Name-Comment: " + commentEdit->text() + "\n"; + keyGenParams += "Name-Comment: " + commentEdit->text().toUtf8() + "\n"; } if (!(emailEdit->text().isEmpty())) { keyGenParams += "Name-Email: " + emailEdit->text() + "\n"; |