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 e777eb62 authored by Laurent Montel's avatar Laurent Montel 😁

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

parent 256a8ca9
......@@ -58,8 +58,6 @@ int main(int argc, char *argv[])
QCommandLineParser parser;
parser.setApplicationDescription(QApplication::applicationDisplayName());
parser.addVersionOption();
parser.addHelpOption();
parser.addPositionalArgument(QStringLiteral("file"), i18n("An optional argument 'file' "), QStringLiteral("[file]"));
aboutData.setupCommandLine(&parser);
......
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