[Notifier] Port from KRun::runCommand

Authored by broulik on Apr 14 2020, 1:51 PM.

Description

[Notifier] Port from KRun::runCommand

Use ApplicationLauncherJob for launching the main application and CommandLauncherJob for launching the updater.
This also gives us a nice startup feedback for both cases now.
The KService::serviceByDesktopName could in theory return null but imho that would be severely broken
if we have the updater running but rest of Discover is absent.

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

Details

Committed
broulikApr 14 2020, 1:51 PM
Differential Revision
D28821: [Notifier] Port from KRun::runCommand
Parents
R134:50231939892d: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown