diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-23 12:32:37 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-23 12:32:37 +0200 |
commit | 980ea0a008fdc77df495decc08c99ebb84685be3 (patch) | |
tree | 9379e2ab53202b0ace52d14181f8267b57d8d0ef | |
parent | Merge CommandLine functionality into Configuration (diff) | |
download | smolbote-980ea0a008fdc77df495decc08c99ebb84685be3.tar.xz |
Fix poi-config crashing
-rw-r--r-- | config/main.cpp | 3 |
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); |