aboutsummaryrefslogtreecommitdiff
path: root/lib/configuration/configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/configuration/configuration.cpp')
-rw-r--r--lib/configuration/configuration.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/configuration/configuration.cpp b/lib/configuration/configuration.cpp
index 4447202..9931ec5 100644
--- a/lib/configuration/configuration.cpp
+++ b/lib/configuration/configuration.cpp
@@ -34,9 +34,8 @@ inline std::string defaultUserConfigLocation()
Configuration::Configuration(QObject *parent)
: QObject(parent)
+ , m_homePath(QStandardPaths::writableLocation(QStandardPaths::HomeLocation).toStdString())
{
- m_homePath = QStandardPaths::writableLocation(QStandardPaths::HomeLocation).toStdString();
-
commandLine_desc.add_options()
("help,h", "Display this help.")
("version,v", "Display version information.")