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

Do not duplicate work of KAboutData::setupCommandLine()

parent 79b52ebb
......@@ -56,8 +56,6 @@ KicApp::KicApp(int &argc, char **argv)
QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("hwinfo")));
QCommandLineParser parser;
parser.addHelpOption();
parser.addVersionOption();
aboutData.setupCommandLine(&parser);
parser.process(*this);
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