aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/function/SetOwnerTrustLevel.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/function/SetOwnerTrustLevel.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/function/SetOwnerTrustLevel.cpp')
-rw-r--r--src/ui/function/SetOwnerTrustLevel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/function/SetOwnerTrustLevel.cpp b/src/ui/function/SetOwnerTrustLevel.cpp
index 360abfce..87f4cb61 100644
--- a/src/ui/function/SetOwnerTrustLevel.cpp
+++ b/src/ui/function/SetOwnerTrustLevel.cpp
@@ -54,7 +54,7 @@ auto SetOwnerTrustLevel::Exec(const QString& key_id) -> bool {
key.GetOwnerTrustLevel(), false, &ok);
if (ok && !item.isEmpty()) {
- GF_UI_LOG_DEBUG("selected owner trust policy: {}", item.toStdString());
+ GF_UI_LOG_DEBUG("selected owner trust policy: {}", item);
int trust_level = 0; // Unknown Level
if (item == tr("Ultimate")) {
trust_level = 5;