FIX: JKQTPExampleApplication does no longer complain, if additional commmand line options are present (additionally to those declared in JKQTPExampleApplication)

This commit is contained in:
jkriege2 2024-01-05 00:13:39 +01:00
parent aa2fcb108d
commit 6511c0111d

View File

@ -71,7 +71,8 @@ void JKQTPExampleApplication::readCmdLine() {
QCommandLineOption iterateFunctorStepsSupressInitialOption(QStringList()<<"iteratefunctorsteps_suppressinitial", "iterate over steps defined by addExportStepFunctor() in code.");
parser.addOption(iterateFunctorStepsSupressInitialOption);
parser.process(*this);
//parser.process(*this);
parser.parse(arguments());
screenshotDir=QDir(parser.value(outputDirectoryOption));
screenshotBasename=parser.value(basenameOption).split(',');