diff options
author | saturneric <[email protected]> | 2024-07-29 19:29:56 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-07-29 19:29:56 +0000 |
commit | fa90ec4b5315b9e70a44a9625c143ce253f0e885 (patch) | |
tree | 8ffa82e33522de03974d6d0289aa831b4fd6ebdf /src/core/function/GlobalSettingStation.cpp | |
parent | fix: correct urls at appdata.xml (diff) | |
parent | Merge branch 'develop' of github.com:saturneric/GpgFrontend into develop (diff) | |
download | GpgFrontend-fa90ec4b5315b9e70a44a9625c143ce253f0e885.tar.gz GpgFrontend-fa90ec4b5315b9e70a44a9625c143ce253f0e885.zip |
Merge branch 'develop'
Diffstat (limited to 'src/core/function/GlobalSettingStation.cpp')
-rw-r--r-- | src/core/function/GlobalSettingStation.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/core/function/GlobalSettingStation.cpp b/src/core/function/GlobalSettingStation.cpp index 45ab11f9..e123f249 100644 --- a/src/core/function/GlobalSettingStation.cpp +++ b/src/core/function/GlobalSettingStation.cpp @@ -40,13 +40,11 @@ class GlobalSettingStation::Impl { * */ explicit Impl() noexcept { - GF_CORE_LOG_INFO("app path: {}", GetAppDir()); - GF_CORE_LOG_INFO("app working path: {}", working_path_); + qCInfo(core) << "app path: " << GetAppDir(); + qCInfo(core) << "app working path: " << working_path_; auto portable_file_path = working_path_ + "/PORTABLE.txt"; if (QFileInfo(portable_file_path).exists()) { - GF_CORE_LOG_INFO( - "dectected portable mode, reconfiguring config and data path..."); Module::UpsertRTValue("core", "env.state.portable", 1); app_data_path_ = working_path_; @@ -56,11 +54,11 @@ class GlobalSettingStation::Impl { portable_mode_ = true; } - GF_CORE_LOG_INFO("app data path: {}", app_data_path_); - GF_CORE_LOG_INFO("app log path: {}", app_log_path_); + qCInfo(core) << "app data path: " << app_data_path_; + qCInfo(core) << "app log path: " << app_log_path_; #ifdef WINDOWS - GF_CORE_LOG_INFO("app config path: {}", app_config_path_); + qCInfo(core) << "app config path: " << app_config_path_; #endif #ifdef WINDOWS |