Commit 581dae10 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Fixed dock widget features on startup in locked state

In locked state the dock widgets shouldn't have AllDockWidgetFeatures
set, but rather NoDockWidgetFeatures. Otherwise a hidden one-pixel wide
area exists that allows people to move/float a dockwidget, which can be

Task: 244531

(cherry picked from commit ba9ade6d)
parent 441c630f
......@@ -451,10 +451,7 @@ QDockWidget *DebuggerManager::createDockForWidget(QWidget *widget)
QDockWidget *dockWidget = new QDockWidget(widget->windowTitle(), m_mainWindow);
//dockWidget->setAllowedAreas(Qt::BottomDockWidgetArea | Qt::RightDockWidgetArea);
dockWidget->setAllowedAreas(Qt::AllDockWidgetAreas); // that space is needed.
dockWidget->setTitleBarWidget(new QWidget(dockWidget));
connect(dockWidget->toggleViewAction(), SIGNAL(toggled(bool)),
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