From cacca627a62ab2eba9eb4d37cfea40629ca0a89a Mon Sep 17 00:00:00 2001 From: Saturneric Date: Sun, 6 Feb 2022 17:34:14 +0800 Subject: (src): Move and split the Global Settings Station 1. Move Global Settings Station to core 2. Separate the logic of DataObject 3. Resolve dependencies --- src/ui/widgets/KeyList.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ui/widgets/KeyList.cpp') diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp index 38d9d359..75558edc 100644 --- a/src/ui/widgets/KeyList.cpp +++ b/src/ui/widgets/KeyList.cpp @@ -35,7 +35,7 @@ #include "core/function/gpg/GpgKeyGetter.h" #include "ui/SignalStation.h" #include "ui/UserInterfaceUtils.h" -#include "ui/settings/GlobalSettingStation.h" +#include "core/function/GlobalSettingStation.h" #include "ui_KeyList.h" namespace GpgFrontend::UI { @@ -53,9 +53,9 @@ KeyList::KeyList(KeyMenuAbility::AbilityType menu_ability, QWidget* parent) void KeyList::init() { #ifdef GPG_STANDALONE_MODE LOG(INFO) << "GPG_STANDALONE_MODE Enabled"; - auto gpg_path = GpgFrontend::UI::GlobalSettingStation::GetInstance() + auto gpg_path = GpgFrontend::GlobalSettingStation::GetInstance() .GetStandaloneGpgBinDir(); - auto db_path = GpgFrontend::UI::GlobalSettingStation::GetInstance() + auto db_path = GpgFrontend::GlobalSettingStation::GetInstance() .GetStandaloneDatabaseDir(); GpgContext::CreateInstance( _m_key_list_id, std::make_unique(true, db_path.string(), true, -- cgit v1.2.3