Diffusion KIO bfc09fe2ae16

KRun: fix assert when failing to start an application

Authored by dfaure on Apr 5 2020, 4:55 PM.

Description

KRun: fix assert when failing to start an application

Test Plan:
'sudo chmod a-x /usr/bin/gwenview'
Try opening a picure file from e.g. dolphin, you get an error message as expected, clicking OK makes dolphin crash because m_pids is empty and we hit an assert in QVector

Reviewers: ahmadsamir

Reviewed By: ahmadsamir

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D28598