[vlc-commits] qt: disable playlist on fullscreen
    Romain Vimont 
    git at videolan.org
       
    Sat May  5 14:36:41 CEST 2018
    
    
  
vlc/vlc-3.0 | branch: master | Romain Vimont <rom1v at videolabs.io> | Mon Apr 30 14:19:56 2018 +0200| [55ce60609e255ae37f778caa3b235257421b5a76] | 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>
(cherry picked from commit e590a8c53e9d0f125b0b5b9ed435f224c2d5f725)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=55ce60609e255ae37f778caa3b235257421b5a76
---
 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 787be786ef..259dcf7109 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