Commit 7d9b99e6 authored by luyikei's avatar luyikei

MainWindow: Don't show titlebar widgets

parent b2a97323
......@@ -648,6 +648,7 @@ MainWindow::dockWidget( QWidget* widget, Qt::DockWidgetArea startArea )
dock->setAllowedAreas( Qt::AllDockWidgetAreas );
widget->setParent( dock );
dock->setWidget( widget );
dock->setTitleBarWidget( new QWidget );
dock->setObjectName( widget->objectName() );
addDockWidget( startArea, dock );
registerWidgetInWindowMenu( dock );
......
Markdown is supported
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