summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-11 09:08:42 +0200
committerMontel Laurent <[email protected]>2017-10-11 09:08:43 +0200
commit27e0b8dae2235580414a930d6959556f6b254ddd (patch)
tree674f6a0b2794dea1d73a15b7b703163c1071cda1
parentd42a80c893fa747906ee8f637508ccf822c9625a (diff)
Don't repeat work of KAboutData::setupCommandLine().
-rw-r--r--src/main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index dca9936..df865d7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -57,8 +57,6 @@ int main(int argc, char **argv)
KAboutData::setApplicationData(aboutData);
QCommandLineParser parser;
- parser.addVersionOption();
- parser.addHelpOption();
aboutData.setupCommandLine(&parser);
parser.process(app);
aboutData.processCommandLine(&parser);