No need to duplicate work done by KAboutData::setupCommandLine()

parent 81a9e801
......@@ -42,8 +42,6 @@ Application::Application(int& argc, char** argv)
setAttribute(Qt::AA_UseHighDpiPixmaps);
mCmdParser.addPositionalArgument( QStringLiteral("url"), i18n( "Documentation to open" ) );
mCmdParser.addHelpOption();
mCmdParser.addVersionOption();
// allow redirecting from internal pages to known protocols
KUrlAuthorized::allowUrlAction( QStringLiteral( "redirect" ), QUrl( QStringLiteral( "khelpcenter:" ) ), QUrl( QStringLiteral( "ghelp:" ) ) );
......
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