From 9eb339dd2b463cc86bbeed73e349afe0b3ad7a23 Mon Sep 17 00:00:00 2001 From: saturneric Date: Wed, 18 Oct 2023 02:06:44 +0800 Subject: refactor: use piml tech to rewrite GlobalSettingsStation --- src/ui/GpgFrontendUIInit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/GpgFrontendUIInit.cpp') diff --git a/src/ui/GpgFrontendUIInit.cpp b/src/ui/GpgFrontendUIInit.cpp index 03132abc..49bc01fb 100644 --- a/src/ui/GpgFrontendUIInit.cpp +++ b/src/ui/GpgFrontendUIInit.cpp @@ -252,7 +252,7 @@ void ShutdownUILoggingSystem() { void init_locale() { // get the instance of the GlobalSettingStation auto& settings = - GpgFrontend::GlobalSettingStation::GetInstance().GetUISettings(); + GpgFrontend::GlobalSettingStation::GetInstance().GetMainSettings(); // create general settings if not exist if (!settings.exists("general") || -- cgit v1.2.3