D22613: kstart: Prevent crash when running without args

Tasos Sahanidis noreply at phabricator.kde.org
Sun Jul 21 15:30:29 BST 2019


tasossahanidis created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
tasossahanidis requested review of this revision.

REVISION SUMMARY
  Despite an error being thrown, kstart would continue, trying to
  access an item that didn't exist in parser's arguments QList.
  
  Display the help message and exit instead.
  
  Signed-off-by: Tasos Sahanidis <tasos at tasossah.com>

REPOSITORY
  R126 KDE CLI Utilities

BRANCH
  master

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

AFFECTED FILES
  kstart/kstart.cpp

To: tasossahanidis
Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190721/c66affd7/attachment.html>


More information about the Plasma-devel mailing list