aboutsummaryrefslogtreecommitdiff
path: root/src/commandline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandline.cpp')
-rw-r--r--src/commandline.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/commandline.cpp b/src/commandline.cpp
index bb636f2..f5e479c 100644
--- a/src/commandline.cpp
+++ b/src/commandline.cpp
@@ -88,18 +88,6 @@ void CommandLine::parseCommandLine(const QCoreApplication &app)
if(isSet(buildOption)) {
printBuild();
}
-
- // create a list of unknown QCommandLineOption's
- // parser.addOptions() takes a list, so this is a QList
-
- for(const QString &opt : unknownOptionNames()) {
- QCommandLineOption o(opt, "dummy desc", "dummy value");
- unknownOptions.append(o);
- }
-
- // add list and reparse to set the new options
- addOptions(unknownOptions);
- parse(app.arguments());
}
void CommandLine::printHelp(int exitCode)