aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/main.cpp b/config/main.cpp
index 2ebad8d..36f79f5 100644
--- a/config/main.cpp
+++ b/config/main.cpp
@@ -12,9 +12,12 @@
int main(int argc, char **argv)
{
QApplication app(argc, argv);
+ app.setApplicationDisplayName("poi-config");
+ app.setApplicationVersion("0.1.0");
app.setQuitOnLastWindowClosed(true);
Configuration config;
+ config.parseCommandLine(argc, argv);
config.parseConfigFile(config.value<std::string>("config").value());
SettingsDialog dlg(&config);