Do not repeat work of KAboutData::setupCommandLine()

parent 87fb7129
......@@ -92,8 +92,6 @@ int main( int argc, char **argv )
QCommandLineParser parser;
aboutData.setupCommandLine(&parser);
parser.addVersionOption();
parser.addHelpOption();
parser.addPositionalArgument(QLatin1String("part"), i18n("Name of the part to load, e.g. dolphinpart"));
parser.process(app);
......
......@@ -49,8 +49,6 @@ int main(int argc, char** argv)
KAboutData::setApplicationData(about);
QCommandLineParser parser;
parser.addVersionOption();
parser.addHelpOption();
about.setupCommandLine(&parser);
parser.addPositionalArgument(QLatin1String("[URL]"), i18n("Document to open"));
......
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