Remove dock widget handles from debugger tool bar.

Otherwise it's possible to remove the tool bar without ever getting it
back.
This commit is contained in:
con
2011-02-17 15:43:54 +01:00
parent c3d75e66d1
commit 46ecaecc13
2 changed files with 19 additions and 8 deletions

View File

@@ -476,6 +476,7 @@ QWidget *DebuggerMainWindow::createContents(IMode *mode)
dock->setFeatures(QDockWidget::NoDockWidgetFeatures);
dock->setAllowedAreas(Qt::BottomDockWidgetArea);
dock->setTitleBarWidget(new QWidget(dock));
dock->setProperty("managed_dockwidget", QLatin1String("true"));
addDockWidget(Qt::BottomDockWidgetArea, dock);
setToolBarDockWidget(dock);