Commit 86c2497f authored by Laurent Montel's avatar Laurent Montel 😁

Do not duplicate work of KAboutData::setupCommandLine()

parent 1aa306e2
......@@ -61,8 +61,6 @@ int main( int argc, char *argv[] )
application.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
application.setWindowIcon(QIcon::fromTheme(QStringLiteral("preferences-system")));
QCommandLineParser parser;
parser.addHelpOption();
parser.addVersionOption();
aboutData.setupCommandLine(&parser);
parser.process(application);
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