Skip to content
Commit 2eedaddd authored by Tasos Sahanidis's avatar Tasos Sahanidis Committed by Nate Graham
Browse files

kstart: Prevent crash when running without args



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: default avatarTasos Sahanidis <tasos@tasossah.com>

Reviewers: davidedmundson, apol

Reviewed By: davidedmundson, apol

Subscribers: apol, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22613
parent 6d86fd45
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