desktoptojson: also convert InitialPreference key

Authored by dfaure on Jan 5 2020, 7:12 PM.

Description

desktoptojson: also convert InitialPreference key

Summary:
This is going to be useful to load KParts using KPluginLoader.
Most other plugins are simply all loaded, rather than selecting the
preferred one, which is why this hadn't been done until now.

Test Plan:
qtplugininfo $KDEDIR/lib64/plugins/kf5/parts/gvpart.so
(gwenview) now has InitialPreference under KPlugin rather than outside it.

Reviewers: arichardson

Subscribers: kde-frameworks-devel

Tags: Frameworks

Maniphest Tasks: T12340, T12173

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

Details

Committed
dfaureJan 5 2020, 7:29 PM
Differential Revision
D26442: desktoptojson: also convert InitialPreference key
Parents
R244:8bfe9348f40e: KCoreAddons: fix compilation with qtbase git dev branch
Branches
Unknown
Tags
Unknown