Fixed removeDockArea function, fixed bug when docking into empty container, fix several small bugs, improved code documentation

This commit is contained in:
Uwe Kindler
2017-09-06 15:45:22 +02:00
parent 412f13e1c4
commit 9676eeb1bf
2 changed files with 64 additions and 16 deletions

View File

@@ -164,7 +164,7 @@ bool DockWidgetTitleBarPrivate::startFloating()
qDebug() << "areaCount " << DockWidget->dockContainer()->dockAreaCount();
qDebug() << "widgetCount " << DockWidget->dockAreaWidget()->count();
// if this is the last dock widget inside of this floating widget,
// then it does not make any sense, to make if floating because
// then it does not make any sense, to make it floating because
// it is already floating
if (DockWidget->dockContainer()->isFloating()
&& (DockWidget->dockContainer()->visibleDockAreaCount() == 1)