Commit fc3ee791 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qobject_cast here

parent 67f12d58
Pipeline #31986 passed with stage
in 13 minutes and 4 seconds
......@@ -566,7 +566,7 @@ IconSidePane::IconSidePane(KontactInterface::Core *core, QWidget *parent)
mNavigator = new Navigator(this);
mNavigator->setMainWindow(dynamic_cast<MainWindow *>(core));
mNavigator->setMainWindow(qobject_cast<MainWindow *>(core));
connect(mNavigator, &Navigator::pluginActivated, this, &IconSidePane::pluginSelected);
Supports Markdown
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