Commit 5bcbd5fd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Do not duplicate work of KAboutData::setupCommandLine()

parent 8bb27d07
......@@ -90,8 +90,6 @@ int main(int argc, char *argv[])
QCommandLineParser parser;
aboutData.setupCommandLine(&parser);
parser.addVersionOption();
parser.addHelpOption();
parser.addPositionalArgument(QLatin1String("[file(s)]"), i18n("File(s) to open"));
parser.process(a);
aboutData.processCommandLine(&parser);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment