Commit e3681ccf authored by Laurent Montel's avatar Laurent Montel 😁

Do not duplicate work of KAboutData::setupCommandLine()

parent 4332ecee
......@@ -83,8 +83,6 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char *argv[])
app.setQuitOnLastWindowClosed( false );
QCommandLineParser parser;
parser.addHelpOption();
parser.addVersionOption();
aboutData.setupCommandLine(&parser);
parser.process(app);
aboutData.processCommandLine(&parser);
......
......@@ -69,8 +69,6 @@ int main(int argc, char **argv)
app.setQuitOnLastWindowClosed(false);
aboutData.setupCommandLine(&parser);
parser.addHelpOption();
parser.addVersionOption();
parser.process(app);
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