aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/SettingsDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-06-19 10:28:30 +0000
committerSaturneric <[email protected]>2021-06-19 10:28:30 +0000
commit7377178bc7214cf2e4e93ffa05e3ad29dda79b89 (patch)
tree8517330e926667004bc8d4854da78ff3caec7a37 /src/ui/SettingsDialog.cpp
parentAdd dependent files under Windows. (diff)
downloadGpgFrontend-7377178bc7214cf2e4e93ffa05e3ad29dda79b89.tar.gz
GpgFrontend-7377178bc7214cf2e4e93ffa05e3ad29dda79b89.zip
Improve project documents
Continue to write ReadME Eliminate compile-time warnings Fix some problems
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);
}