D26479: Fix warning on launch from QCommandLineParser

Nazar Kalinowski noreply at phabricator.kde.org
Mon Jan 6 21:22:05 GMT 2020


nazark created this revision.
nazark added a project: Konsole.
Herald added a subscriber: konsole-devel.
nazark requested review of this revision.

REVISION SUMMARY
  Currently konsole 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 konsole, "help" and "version" options are already being added in KAboutData::setupCommandLine

REPOSITORY
  R319 Konsole

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

AFFECTED FILES
  src/main.cpp

To: nazark
Cc: konsole-devel, cent, EspadaV8, fbampaloukas, thsurrel, ngraham, maximilianocuria, hindenburg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20200106/7da3e077/attachment.html>


More information about the konsole-devel mailing list