No need to repeat work of KAboutData::setupCommandLine()

parent 46d7e734
...@@ -63,8 +63,6 @@ int main( int argc, char **argv ) ...@@ -63,8 +63,6 @@ int main( int argc, char **argv )
QCommandLineParser parser; QCommandLineParser parser;
aboutData.setupCommandLine(&parser); aboutData.setupCommandLine(&parser);
parser.addVersionOption();
parser.addHelpOption();
parser.addOption(QCommandLineOption("play-dvd", i18n("Play DVD Video"))); parser.addOption(QCommandLineOption("play-dvd", i18n("Play DVD Video")));
parser.addPositionalArgument("url", i18n("Play 'URL'"), QStringLiteral("+[URL]")); parser.addPositionalArgument("url", i18n("Play 'URL'"), QStringLiteral("+[URL]"));
......
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