aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/GlobalSettingStation.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-05-19 19:02:22 +0000
committerSaturneric <[email protected]>2022-05-19 19:02:22 +0000
commit6d2f0fec12c142cd378c5515091e1aa5b58597fd (patch)
treee4dcd5a3e93e6a28a058516e43f0986195bc2083 /src/core/function/GlobalSettingStation.h
parentpref: improve pch for compiling speed (diff)
downloadGpgFrontend-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.h2
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