diff options
author | Saturneric <[email protected]> | 2022-02-06 09:34:14 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-02-06 09:34:39 +0000 |
commit | cacca627a62ab2eba9eb4d37cfea40629ca0a89a (patch) | |
tree | c596c3c2252ebb0e3792ab4c561d7c7cd3f3e4b0 /src/ui/settings/SettingsGeneral.cpp | |
parent | <refactor>(core, ui): Adjust the core code directory structure. (diff) | |
download | GpgFrontend-cacca627a62ab2eba9eb4d37cfea40629ca0a89a.tar.gz GpgFrontend-cacca627a62ab2eba9eb4d37cfea40629ca0a89a.zip |
<refactor>(src): Move and split the Global Settings Station
1. Move Global Settings Station to core
2. Separate the logic of DataObject
3. Resolve dependencies
Diffstat (limited to '')
-rw-r--r-- | src/ui/settings/SettingsGeneral.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/settings/SettingsGeneral.cpp b/src/ui/settings/SettingsGeneral.cpp index 2b5bcfcf..3c7bca32 100644 --- a/src/ui/settings/SettingsGeneral.cpp +++ b/src/ui/settings/SettingsGeneral.cpp @@ -32,7 +32,7 @@ #include "SettingsDialog.h" #endif -#include "GlobalSettingStation.h" +#include "core/function/GlobalSettingStation.h" #include "ui_GeneralSettings.h" namespace GpgFrontend::UI { @@ -140,7 +140,7 @@ void GeneralTab::SetSettings() { *************************************/ void GeneralTab::ApplySettings() { auto& settings = - GpgFrontend::UI::GlobalSettingStation::GetInstance().GetUISettings(); + GpgFrontend::GlobalSettingStation::GetInstance().GetUISettings(); if (!settings.exists("general") || settings.lookup("general").getType() != libconfig::Setting::TypeGroup) |