mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2025-01-13 01:10:33 +08:00
FIX: JKQTPExampleApplication does no longer complain, if additional commmand line options are present (additionally to those declared in JKQTPExampleApplication)
This commit is contained in:
parent
aa2fcb108d
commit
6511c0111d
@ -71,7 +71,8 @@ void JKQTPExampleApplication::readCmdLine() {
|
|||||||
QCommandLineOption iterateFunctorStepsSupressInitialOption(QStringList()<<"iteratefunctorsteps_suppressinitial", "iterate over steps defined by addExportStepFunctor() in code.");
|
QCommandLineOption iterateFunctorStepsSupressInitialOption(QStringList()<<"iteratefunctorsteps_suppressinitial", "iterate over steps defined by addExportStepFunctor() in code.");
|
||||||
parser.addOption(iterateFunctorStepsSupressInitialOption);
|
parser.addOption(iterateFunctorStepsSupressInitialOption);
|
||||||
|
|
||||||
parser.process(*this);
|
//parser.process(*this);
|
||||||
|
parser.parse(arguments());
|
||||||
|
|
||||||
screenshotDir=QDir(parser.value(outputDirectoryOption));
|
screenshotDir=QDir(parser.value(outputDirectoryOption));
|
||||||
screenshotBasename=parser.value(basenameOption).split(',');
|
screenshotBasename=parser.value(basenameOption).split(',');
|
||||||
|
Loading…
Reference in New Issue
Block a user