Skip to content
Commit 7ac29836 authored by Alexander Lohnau's avatar Alexander Lohnau
Browse files

Port query logic for ui plugins to KPluginMetadata::findPlugins

With https://phabricator.kde.org/T15094 we can allow plugins without
embedded json metadata to be consiered valid and consequently
show up in the KPluginMetaData::findPlugins result.

This way we can drop the custom logic to iterate over the library paths
and check the containing files.

Also we can utilize the pluginId that is derived from the filename
instead of meddling with the filename manually and appending the file
extension when accessing our internal hash of loaded plugins.
parent d38b71ba
Pipeline #159231 passed with stage
in 1 minute
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