Commit 94acf0ba authored by Anthony Fieroni's avatar Anthony Fieroni
Browse files

Pass dolphin view as parent widget to plugins


Signed-off-by: Anthony Fieroni's avatarAnthony Fieroni <bvbfan@abv.bg>
parent ecda1e95
Pipeline #148515 failed with stage
in 49 seconds
......@@ -285,7 +285,7 @@ void VersionControlObserver::initPlugins()
for (const auto &p : plugins) {
if (enabledPlugins.contains(p.name())) {
auto plugin = KPluginFactory::instantiatePlugin<KVersionControlPlugin>(p).plugin;
auto plugin = KPluginFactory::instantiatePlugin<KVersionControlPlugin>(p, parent()).plugin;
if (plugin) {
m_plugins.append(plugin);
loadedPlugins += p.name();
......
Markdown is supported
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