Commit 20eebbb7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Assign parentWidget before creating plugin.

parent 38fce3c4
Pipeline #76321 passed with stage
in 14 minutes and 13 seconds
......@@ -239,8 +239,8 @@ KMMainWidget::KMMainWidget(QWidget *parent, KXMLGUIClient *aGUIClient, KActionCo
KMailPluginInterface::self()->initializePlugins();
KMailPluginInterface::self()->setMainWidget(this);
mPluginCheckBeforeDeletingManagerInterface = new KMailPluginCheckBeforeDeletingManagerInterface(this);
mPluginCheckBeforeDeletingManagerInterface->initializePlugins();
mPluginCheckBeforeDeletingManagerInterface->setParentWidget(this);
mPluginCheckBeforeDeletingManagerInterface->initializePlugins();
theMainWidgetList->append(this);
......
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