From 1bc4fb0dd9cab6049f49252fe3c2654f7a47c786 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Thu, 21 Jun 2018 13:39:36 +0200 Subject: [PATCH] Do not duplicate work of KAboutData::setupCommandLine() --- shell/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/shell/main.cpp b/shell/main.cpp index de8a5c24e..c8d731b61 100644 --- a/shell/main.cpp +++ b/shell/main.cpp @@ -45,8 +45,6 @@ int main(int argc, char** argv) QCommandLineParser parser; // The KDE4 version accepted flags such as -unique with a single dash -> preserve compatibility parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions); - parser.addVersionOption(); - parser.addHelpOption(); aboutData.setupCommandLine(&parser); parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("p") << QStringLiteral("page"), i18n("Page of the document to be shown"), QStringLiteral("number")));