D26460: Fix warning on launch from QCommandLineParser

Nazar Kalinowski noreply at phabricator.kde.org
Mon Jan 6 11:42:28 GMT 2020


nazark created this revision.
Herald added a subscriber: kde-utils-devel.
nazark requested review of this revision.

REVISION SUMMARY
  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

REPOSITORY
  R353 KCalc

REVISION DETAIL
  https://phabricator.kde.org/D26460

AFFECTED FILES
  kcalc.cpp

To: nazark
Cc: kde-utils-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20200106/e9e7a690/attachment.html>


More information about the Kde-utils-devel mailing list