Skip to content
Commit ac05c808 authored by Nazar Kalinowski's avatar Nazar Kalinowski Committed by Elvis Angelaccio
Browse files

Fix warning on launch from QCommandLineParser

Currently kcalc shows next warning on launch:

QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"

This patch fixes that by removing duplicate code from kcalc, "help" and "version" options are already being added in KAboutData::setupCommandLine

Differential Revision: https://phabricator.kde.org/D26460
parent 86045f9e
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