diff options
author | saturneric <[email protected]> | 2025-01-27 15:51:27 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-01-27 15:51:27 +0000 |
commit | 5d2b02097eeb6ed166611a22cef66a8c56b7c997 (patch) | |
tree | d785a00dc2acbb8f6c5212eac6bdcebeb388b776 /src/core/GpgCoreInit.cpp | |
parent | fix: kill all gnupg daemons in a proper way (diff) | |
download | GpgFrontend-5d2b02097eeb6ed166611a22cef66a8c56b7c997.tar.gz GpgFrontend-5d2b02097eeb6ed166611a22cef66a8c56b7c997.zip |
refactor: clean up code
Diffstat (limited to 'src/core/GpgCoreInit.cpp')
-rw-r--r-- | src/core/GpgCoreInit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/GpgCoreInit.cpp b/src/core/GpgCoreInit.cpp index d6de2240..7088dd99 100644 --- a/src/core/GpgCoreInit.cpp +++ b/src/core/GpgCoreInit.cpp @@ -304,7 +304,7 @@ auto GetComponentPathsByGpgConf(const QString& gpgconf_install_fs_path) } auto DecideGpgConfPath(const QString& default_gpgconf_path) -> QString { - auto settings = GlobalSettingStation::GetInstance().GetSettings(); + auto settings = GetSettings(); auto use_custom_gnupg_install_path = settings.value("gnupg/use_custom_gnupg_install_path", false).toBool(); auto custom_gnupg_install_path = @@ -470,7 +470,7 @@ auto InitGpgFrontendCore(CoreInitArgs args) -> int { auto default_home_path = Module::RetrieveRTValueTypedOrDefault<>( "core", "gpgme.ctx.default_database_path", QString{}); - auto settings = GlobalSettingStation::GetInstance().GetSettings(); + auto settings = GetSettings(); // read settings from config file auto forbid_all_gnupg_connection = |