Fix for CommandLineParser

This commit is contained in:
pokamest 2022-08-31 16:54:46 +03:00
parent fffa4fc031
commit 0ca4f3b104
3 changed files with 25 additions and 17 deletions

View file

@ -63,8 +63,11 @@ int main(int argc, char *argv[])
app.loadTranslator();
app.loadFonts();
app.parseCommands();
app.init();
bool doExec = app.parseCommands();
return app.exec();
if (doExec) {
app.init();
return app.exec();
}
return 0;
}