Commit 8cd7d689 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

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

parent ecfa22ee
...@@ -89,8 +89,6 @@ int main(int argc, char *argv[]) ...@@ -89,8 +89,6 @@ int main(int argc, char *argv[])
QCommandLineParser parser; QCommandLineParser parser;
KAboutData::setApplicationData(aboutData); KAboutData::setApplicationData(aboutData);
parser.addVersionOption();
parser.addHelpOption();
aboutData.setupCommandLine(&parser); aboutData.setupCommandLine(&parser);
parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("verbose"), i18n("Print helpful runtime messages"))); parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("verbose"), i18n("Print helpful runtime messages")));
......
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