Skip to content

Do not return duplicate plugins in KPluginLoader::findPlugins

Alexander Lohnau requested to merge work/duplicate_plugin_results into master

In case one has the globally installed ones and custom build ones in a separate directory the method would return both.

Currently the vast majority of apps already handle this themselves, but it makes more sense to have this unified in the framework.

An example where this is currently not handled is the kcm_plasmasearch KCM. Without this MR you would get lots of duplicated plugins.


Merge request reports