Fix actions for application search results
If you search for an application and click edit the dialog would not open. This is because the data from the SeervicesRunner is an QUrl and when we convert it to a string we still have the scheme. This causes the service to become null.
QUrl url(service->storageId()); url.setScheme(QStringLiteral("applications")); ... match.setData(url);
We should also be able to launch applications/services normally.
This has also been reported by users: https://www.reddit.com/r/kde/comments/h12w05/updated_to_519_found_some_issues/ and
And another few actions should work again (addToDesktop addToPanel addToPanel) because they depend on the service not being null.
This seems to be a regression from https://phabricator.kde.org/D28347.