[vlc-devel] [PATCH] qt: disable playlist on fullscreen

Romain Vimont rom1v at videolabs.io
Mon Apr 30 14:19:56 CEST 2018


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
---
 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 b5a5724f18..769874a9ec 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();
 
-- 
2.17.0



More information about the vlc-devel mailing list