[vlc-commits] qt: switch to the background widget when de-docking the playlist and no video is playing

Pierre Lamot git at videolan.org
Mon Oct 30 11:27:22 CET 2017


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Oct 27 18:41:38 2017 +0200| [6059e59bf66eb57d91550fc560d1d289eab15fe2] | committer: Jean-Baptiste Kempf

qt: switch to the background widget when de-docking the playlist and no video is playing

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6059e59bf66eb57d91550fc560d1d289eab15fe2
---

 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 b8f2363299..e517d6d48d 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -1033,6 +1033,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 */



More information about the vlc-commits mailing list