aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/GlobalSettingStation.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-12-04 10:15:50 +0000
committerSaturneric <[email protected]>2022-12-04 10:16:25 +0000
commit6bdfddb208bb00fc67a309b0c23af124217d3541 (patch)
treeb2fe2928b8ae7396021b433b808121260c6ef80f /src/core/function/GlobalSettingStation.h
parentfix: solve a refresh crash (diff)
downloadGpgFrontend-6bdfddb208bb00fc67a309b0c23af124217d3541.tar.gz
GpgFrontend-6bdfddb208bb00fc67a309b0c23af124217d3541.zip
feat(ui, core): add custom key db support
1. add custom key db support 2. add deep restart mode for custom key db settings 3. add core reset function
Diffstat (limited to 'src/core/function/GlobalSettingStation.h')
-rw-r--r--src/core/function/GlobalSettingStation.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/function/GlobalSettingStation.h b/src/core/function/GlobalSettingStation.h
index 58282466..8811623f 100644
--- a/src/core/function/GlobalSettingStation.h
+++ b/src/core/function/GlobalSettingStation.h
@@ -173,10 +173,9 @@ class GPGFRONTEND_CORE_EXPORT GlobalSettingStation
QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation)
.toStdString(); ///< Program Configure Location
std::filesystem::path ui_config_dir_path_ =
- app_configure_path_ /
- "UserInterface"; ///< Configure File Directory Location
+ app_configure_path_ / "conf"; ///< Configure File Directory Location
std::filesystem::path ui_config_path_ =
- ui_config_dir_path_ / "ui.cfg"; ///< UI Configure File Location
+ ui_config_dir_path_ / "main.cfg"; ///< Main Configure File Location
libconfig::Config ui_cfg_; ///< UI Configure File