vlc | branch: master | Pierre Lamot <[email protected]> | 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 <[email protected]> > 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 */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
