Commit 1e93e4d3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

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

parent 7808784d
...@@ -72,8 +72,6 @@ int main( int argc, char *argv[] ) ...@@ -72,8 +72,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.process(app); parser.process(app);
aboutData.processCommandLine(&parser); aboutData.processCommandLine(&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