Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d1e6b526 authored by Laurent Montel's avatar Laurent Montel 😁

Don't repeat work of KAboutData::setupCommandLine().

parent a7de50a9
......@@ -52,8 +52,6 @@ int main(int argc, char **argv)
KCrash::initialize();
QCommandLineParser parser;
parser.addVersionOption();
parser.addHelpOption();
aboutData.setupCommandLine(&parser);
parser.process(app);
......
......@@ -55,8 +55,6 @@ int main(int argc, char **argv)
KAboutData::setApplicationData(aboutData);
QCommandLineParser parser;
parser.addVersionOption();
parser.addHelpOption();
aboutData.setupCommandLine(&parser);
parser.process(app);
......
......@@ -58,8 +58,6 @@ int main(int argc, char **argv)
KAboutData::setApplicationData(aboutData);
QCommandLineParser parser;
parser.addVersionOption();
parser.addHelpOption();
aboutData.setupCommandLine(&parser);
parser.process(app);
......
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