From 34b51c5e0915cbb11c80029aaa05d96c7115fac3 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 16 Jan 2024 01:19:34 +0800 Subject: fix: slove the languange settings issue --- src/core/GpgCoreInit.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/core/GpgCoreInit.cpp') diff --git a/src/core/GpgCoreInit.cpp b/src/core/GpgCoreInit.cpp index a30a407a..7691ff21 100644 --- a/src/core/GpgCoreInit.cpp +++ b/src/core/GpgCoreInit.cpp @@ -214,25 +214,24 @@ void InitGpgFrontendCore(CoreInitArgs args) { .toBool(); auto use_custom_key_database_path = - settings.value("general/use_custom_key_database_path", false) + settings.value("basic/use_custom_key_database_path", false) .toBool(); auto custom_key_database_path = - settings.value("general/custom_key_database_path", QString{}) + settings.value("basic/custom_key_database_path", QString{}) .toString(); auto use_custom_gnupg_install_path = - settings.value("general/use_custom_gnupg_install_path", false) + settings.value("basic/use_custom_gnupg_install_path", false) .toBool(); auto custom_gnupg_install_path = - settings.value("general/custom_gnupg_install_path", QString{}) + settings.value("basic/custom_gnupg_install_path", QString{}) .toString(); auto use_pinentry_as_password_input_dialog = settings - .value("general/use_pinentry_as_password_input_dialog", - false) + .value("basic/use_pinentry_as_password_input_dialog", false) .toBool(); GF_CORE_LOG_DEBUG("core loaded if use custom key databse path: {}", -- cgit v1.2.3