aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/SettingsDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/SettingsDialog.cpp')
-rwxr-xr-xsrc/ui/SettingsDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/SettingsDialog.cpp b/src/ui/SettingsDialog.cpp
index 7d9547b2..5501dedd 100755
--- a/src/ui/SettingsDialog.cpp
+++ b/src/ui/SettingsDialog.cpp
@@ -317,7 +317,7 @@ void GeneralTab::slotOwnKeyIdChanged() {
// add line with hidden-encrypt-to, if a key is chosen
if (!ownKeyId.isEmpty()) {
QByteArray string("recipient ");
- string.append(ownKeyId);
+ string.append(ownKeyId.toUtf8());
string.append("\n");
gpgConfTempFile.write(string);
}