Use KRun::runApplication when possible; split out and share more code.
Summary: Also better sanity-checking of found services being app services all around. I'm not particularly happy about adding more X11 code outside of XWindowTasksModel, but it means greater code reuse (in something that has experienced unwelcome drift before) and there's a precedent in LauncherTasksModel. Reviewers: #plasma, broulik Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D6358
Showing with 53 additions and 40 deletions