Fix for CommandLineParser
This commit is contained in:
parent
fffa4fc031
commit
0ca4f3b104
3 changed files with 25 additions and 17 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue