Skip to content

Applet & Containment: Take KPluginMetaData in constructor

Alexander Lohnau requested to merge work/applet_alternate_constructor into master

Otherwise it will get loaded again in the constructor. See https://phabricator.kde.org/T14757 for the performance implications.

We need to support putting/loading the plugin id in the variant list of the constructor. Having one constructor instead of multiple constructors that can't be used with KPluginFactory is cleaner and more straight-forward to use.

Task: https://phabricator.kde.org/T14799

Merge request reports

Loading