[vlmc-devel] MainWindow: Don't show titlebar widgets

Yikai Lu git at videolan.org
Fri Aug 12 18:16:05 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Aug  8 16:22:12 2016 -0500| [7d9b99e67ece1f480fb20a1873b558fb61b75599] | committer: Yikai Lu

MainWindow: Don't show titlebar widgets

> https://code.videolan.org/videolan/vlmc/commit/7d9b99e67ece1f480fb20a1873b558fb61b75599
---

 src/Gui/MainWindow.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index a7bfdc9..90ff678 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -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 );



More information about the Vlmc-devel mailing list