diff options
author | saturneric <[email protected]> | 2024-01-15 17:19:34 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-15 17:19:34 +0000 |
commit | 34b51c5e0915cbb11c80029aaa05d96c7115fac3 (patch) | |
tree | abb530d5d93ab09ff95844b000958b79c07cd3c5 /src/core/GpgCoreInit.cpp | |
parent | fix: reload ui should not destroy core and module system (diff) | |
download | GpgFrontend-34b51c5e0915cbb11c80029aaa05d96c7115fac3.tar.gz GpgFrontend-34b51c5e0915cbb11c80029aaa05d96c7115fac3.zip |
fix: slove the languange settings issue
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r-- | src/core/GpgCoreInit.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
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: {}", |