[vlc-commits] qt: disable playlist on fullscreen

Romain Vimont git at videolan.org
Sat May 5 14:25:20 CEST 2018


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon Apr 30 14:19:56 2018 +0200| [e590a8c53e9d0f125b0b5b9ed435f224c2d5f725] | committer: Jean-Baptiste Kempf

qt: disable playlist on fullscreen

The playlist was disabled on fullscreen only when numscreen was in
range. Since commit 22c9f2a46dbe3e427bf96560786c2473554450b4, numscreen
might be left to -1 not to enforce a screen to the FSC.

In that case, the playlist must also be disabled.

Fixes #20362

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

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

 modules/gui/qt/main_interface.cpp | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/modules/gui/qt/main_interface.cpp b/modules/gui/qt/main_interface.cpp
index 2f6e1b5fe0..6e2e4b9d38 100644
--- a/modules/gui/qt/main_interface.cpp
+++ b/modules/gui/qt/main_interface.cpp
@@ -886,14 +886,11 @@ void MainInterface::setVideoFullScreen( bool fs )
                 msg_Dbg( p_intf, "Moving video to correct position");
                 move( QPoint( screenres.x(), screenres.y() ) );
             }
-
-            /* */
-            if( playlistWidget != NULL && playlistWidget->artContainer->currentWidget() == videoWidget )
-            {
-                showTab( videoWidget );
-            }
         }
 
+        if( playlistWidget != NULL && playlistWidget->artContainer->currentWidget() == videoWidget )
+            showTab( videoWidget );
+
         /* we won't be able to get its windowed sized once in fullscreen, so update it now */
         stackWidgetsSizes[stackCentralW->currentWidget()] = stackCentralW->size();
 



More information about the vlc-commits mailing list