Fix docking behavior when there is a central widget
This commit is contained in:
@@ -1898,8 +1898,6 @@ QList<CDockAreaWidget*> CDockContainerWidget::openedDockAreas() const
|
||||
//============================================================================
|
||||
QList<CDockWidget*> CDockContainerWidget::openedDockWidgets() const
|
||||
{
|
||||
// todo: cleanup
|
||||
qInfo() << "Opened Dock Widgets: ";
|
||||
QList<CDockWidget*> DockWidgetList;
|
||||
for (auto DockArea : d->DockAreas)
|
||||
{
|
||||
@@ -1909,12 +1907,6 @@ QList<CDockWidget*> CDockContainerWidget::openedDockWidgets() const
|
||||
}
|
||||
}
|
||||
|
||||
// todo: cleanup
|
||||
for (auto dockWidget : DockWidgetList)
|
||||
{
|
||||
qInfo() << "Opened dock widgets: " << dockWidget->objectName();
|
||||
}
|
||||
|
||||
return DockWidgetList;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user