AdvancedDockingSystem: Fix dropWidget()

I believe the original intention was to pass dockWidget
into notifyWidgetOrAreaRelocation(), otherwise the whole
"if (!dockWidget)" condition above would be no-op.

(cherry picked from commit 4080f31d25)
Change-Id: I0b809ec6587489eaf5e4f79c5c16f26bbb8346c2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Jarek Kobus
2022-11-30 08:37:14 +01:00
committed by Tim Jenssen
parent fb24f791b8
commit c7eb6b8ae6

View File

@@ -1215,7 +1215,7 @@ namespace ADS
}
window()->activateWindow();
d->m_dockManager->notifyWidgetOrAreaRelocation(widget);
d->m_dockManager->notifyWidgetOrAreaRelocation(dockWidget);
}
QList<DockAreaWidget *> DockContainerWidget::openedDockAreas() const