aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/keypair_details/KeyPairOperaTab.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-23 12:27:30 +0000
committersaturneric <[email protected]>2024-01-23 12:27:30 +0000
commit079b613d373c9ea317d49941728da146dad32356 (patch)
treea37a567cf27368f445b0365008e96c7a9ae958f1 /src/ui/dialog/keypair_details/KeyPairOperaTab.cpp
parentfix: solve issues at i18n support (diff)
downloadGpgFrontend-079b613d373c9ea317d49941728da146dad32356.tar.gz
GpgFrontend-079b613d373c9ea317d49941728da146dad32356.zip
feat: add a setting to enable gpgme debug log
Diffstat (limited to 'src/ui/dialog/keypair_details/KeyPairOperaTab.cpp')
-rw-r--r--src/ui/dialog/keypair_details/KeyPairOperaTab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/keypair_details/KeyPairOperaTab.cpp b/src/ui/dialog/keypair_details/KeyPairOperaTab.cpp
index 7756ac37..be9cd9d2 100644
--- a/src/ui/dialog/keypair_details/KeyPairOperaTab.cpp
+++ b/src/ui/dialog/keypair_details/KeyPairOperaTab.cpp
@@ -352,7 +352,7 @@ void KeyPairOperaTab::slot_modify_tofu_policy() {
this, tr("Modify TOFU Policy(Default is Auto)"),
tr("Policy for the Key Pair:"), items, 0, false, &ok);
if (ok && !item.isEmpty()) {
- GF_UI_LOG_DEBUG("selected policy: {}", item.toStdString());
+ GF_UI_LOG_DEBUG("selected policy: {}", item);
gpgme_tofu_policy_t tofu_policy = GPGME_TOFU_POLICY_AUTO;
if (item == tr("Policy Auto")) {
tofu_policy = GPGME_TOFU_POLICY_AUTO;