dfaure created this revision. dfaure added a reviewer: arichardson. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. dfaure requested review of this revision.
REVISION 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. REPOSITORY R244 KCoreAddons BRANCH master REVISION DETAIL https://phabricator.kde.org/D26442 AFFECTED FILES src/lib/plugin/desktopfileparser.cpp To: dfaure, arichardson Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns