Skip to content
Verified Commit 94076805 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Port KCM querying from KPackageLoader to KPluginMetaData

Respect the new namespaces for modules and query them using KPluginMetaData. This avoids kinfocenter KCMs showing up when not wanted.
By using the embedded json metadata of the plugins we don't need to look into multiple namespaces when instantiationg the KCM.

Simplify code using KPluginFactory::instantiatePlugin while at it, this method takes also care of logging errors.
Also it makes sure the factory has the metadata set, before the plugin is created.

Task: https://phabricator.kde.org/T14517
parent 14de0967
Pipeline #91750 passed with stage
in 43 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment