diff options
author | Saturn&Eric <[email protected]> | 2024-02-01 13:09:07 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-01 13:09:07 +0000 |
commit | 264eff9121d45371aeec518ac23268f08f79a362 (patch) | |
tree | 1f1ef3aabbecfdb38305afe387155d607138b69a | |
parent | Merge pull request #129 from saturneric/dev/2.1.1/main (diff) | |
parent | fix: set use system pinentry as a default option (diff) | |
download | GpgFrontend-264eff9121d45371aeec518ac23268f08f79a362.tar.gz GpgFrontend-264eff9121d45371aeec518ac23268f08f79a362.zip |
Merge pull request #130 from saturneric/dev/2.1.1/main
Develop 2.1.2.5
-rw-r--r-- | src/core/GpgCoreInit.cpp | 2 | ||||
-rw-r--r-- | src/ui/dialog/gnupg/GnuPGControllerDialog.cpp | 2 | ||||
-rw-r--r-- | src/ui/dialog/key_generate/KeygenDialog.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/core/GpgCoreInit.cpp b/src/core/GpgCoreInit.cpp index d2e4c2ec..3a56c02a 100644 --- a/src/core/GpgCoreInit.cpp +++ b/src/core/GpgCoreInit.cpp @@ -319,7 +319,7 @@ void InitGpgFrontendCore(CoreInitArgs args) { .toString(); auto use_pinentry_as_password_input_dialog = - settings.value("gnupg/use_pinentry_as_password_input_dialog", false) + settings.value("gnupg/use_pinentry_as_password_input_dialog", true) .toBool(); GF_CORE_LOG_DEBUG("core loaded if use custom key databse path: {}", diff --git a/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp b/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp index ffe8d3af..ea0a27c9 100644 --- a/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp +++ b/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp @@ -296,7 +296,7 @@ void GnuPGControllerDialog::set_settings() { } bool const use_pinentry_as_password_input_dialog = - settings.value("gnupg/use_pinentry_as_password_input_dialog", false) + settings.value("gnupg/use_pinentry_as_password_input_dialog", true) .toBool(); if (use_pinentry_as_password_input_dialog) { ui_->usePinentryAsPasswordInputDialogCheckBox->setCheckState(Qt::Checked); diff --git a/src/ui/dialog/key_generate/KeygenDialog.cpp b/src/ui/dialog/key_generate/KeygenDialog.cpp index 50e28adf..5251d15e 100644 --- a/src/ui/dialog/key_generate/KeygenDialog.cpp +++ b/src/ui/dialog/key_generate/KeygenDialog.cpp @@ -141,7 +141,7 @@ void KeyGenDialog::slot_key_gen_accept() { if (!GlobalSettingStation::GetInstance() .GetSettings() - .value("gnupg/use_pinentry_as_password_input_dialog", false) + .value("gnupg/use_pinentry_as_password_input_dialog", true) .toBool() && !no_pass_phrase_check_box_->isChecked()) { SetCacheValue("PinentryContext", "NEW_PASSPHRASE"); |