desktoptojson: also convert InitialPreference key
ClosedPublic

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

Details

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.

Diff Detail

Repository
R244 KCoreAddons
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure created this revision.Jan 5 2020, 7:29 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 5 2020, 7:29 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
dfaure requested review of this revision.Jan 5 2020, 7:29 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 6 2020, 11:25 PM
This revision was automatically updated to reflect the committed changes.