[vlc-devel] [PATCH] qt: switch to the background widget when de-docking the playlist and no video is playing
Pierre Lamot
pierre at videolabs.io
Fri Oct 27 18:41:38 CEST 2017
---
modules/gui/qt/main_interface.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index 92aaae3cc9..28ec1eac67 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -1035,6 +1035,8 @@ void MainInterface::dockPlaylist( bool p_docked )
dialog->importPlaylistWidget( playlistWidget );
if (THEMIM->getIM()->hasVideo())
showTab(videoWidget);
+ else
+ showTab(bgWidget);
if ( playlistVisible ) dialog->show();
}
else /* Previously undocked */
--
2.14.2
More information about the vlc-devel
mailing list