diff options
author | Saturneric <[email protected]> | 2022-05-19 19:02:22 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-05-19 19:02:22 +0000 |
commit | 6d2f0fec12c142cd378c5515091e1aa5b58597fd (patch) | |
tree | e4dcd5a3e93e6a28a058516e43f0986195bc2083 /src/core/function/GlobalSettingStation.h | |
parent | pref: improve pch for compiling speed (diff) | |
download | GpgFrontend-6d2f0fec12c142cd378c5515091e1aa5b58597fd.tar.gz GpgFrontend-6d2f0fec12c142cd378c5515091e1aa5b58597fd.zip |
fix: adjust initialized order and organize
1. disable command line file arg input ability
Diffstat (limited to 'src/core/function/GlobalSettingStation.h')
-rw-r--r-- | src/core/function/GlobalSettingStation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/function/GlobalSettingStation.h b/src/core/function/GlobalSettingStation.h index ee0b6b12..ccf8e8f0 100644 --- a/src/core/function/GlobalSettingStation.h +++ b/src/core/function/GlobalSettingStation.h @@ -143,7 +143,7 @@ class GPGFRONTEND_CORE_EXPORT GlobalSettingStation private: std::filesystem::path app_path_ = - qApp->applicationDirPath().toStdString(); ///< Program Location + QCoreApplication::applicationDirPath().toStdString(); ///< Program Location std::filesystem::path app_data_path_ = QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation) .toStdString(); ///< Program Data Location |