Fix crash when loading an external app KCM like yast

Authored by dfaure on May 20 2020, 8:50 PM.

Description

Fix crash when loading an external app KCM like yast

This re-instates the use of KService as a first-class citizen
in KCModuleInfo, apparently needed for non-plugins.

A unittest ensures that the very basic use of service() on such
a desktop file doesn't crash.

BUG: 421566

Details

Committed
dfaureMay 20 2020, 8:50 PM
Parents
R295:5505f6ab6f5a: KSettings::Dialog: avoid duplicate entries due cascading $XDG_DATA_DIRS
Branches
Unknown
Tags
Unknown