Diffusion KCalc ac05c80883dc

Fix warning on launch from QCommandLineParser

Authored by nazark on Jan 6 2020, 7:02 PM.

Description

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

Details

Committed
elvisangelaccioJan 6 2020, 7:03 PM
Differential Revision
D26460: Fix warning on launch from QCommandLineParser
Parents
R353:86045f9e7063: Update Appstream for new release
Branches
Unknown
Tags
Unknown
References
tag: v19.12.1