Commit ac630f7f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

addVersionOption()/addHelpOption() already adds by KAboutData::setApplicationData

parent 7cfe2c8a
......@@ -151,8 +151,6 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char *argv[])
QSharedPointer<QCommandLineParser> parser(new QCommandLineParser);
parser->setApplicationDescription(about.shortDescription());
parser->addHelpOption();
parser->addVersionOption();
about.setupCommandLine(parser.data());
QStringList args = app->arguments();
......
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