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.

Change-Id: I0b809ec6587489eaf5e4f79c5c16f26bbb8346c2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Jarek Kobus
2022-11-30 08:37:14 +01:00
parent 6f7837e5e9
commit 4080f31d25

View File

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