Commit 60efbeef authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

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

parent 2a6f4987
Pipeline #12934 failed with stage
in 3 minutes and 54 seconds
...@@ -75,8 +75,6 @@ int main(int argc, char* argv[]) ...@@ -75,8 +75,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("i") << QStringLiteral("input"), i18n("File or URL to open (in the GUI mode)"), QStringLiteral("URL or file"))); parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("i") << QStringLiteral("input"), i18n("File or URL to open (in the GUI mode)"), QStringLiteral("URL or file")));
......
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