[vlc-commits] qt: FSC: Don't spam showFSC calls.

Hugo Beauzée-Luyssen git at videolan.org
Wed Mar 21 09:56:57 CET 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar 20 16:56:46 2018 +0100| [669bcf20696b883279c00b7e7846b787603a5050] | committer: Hugo Beauzée-Luyssen

qt: FSC: Don't spam showFSC calls.

Show it when its hidden

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

 modules/gui/qt/components/controller.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/components/controller.cpp b/modules/gui/qt/components/controller.cpp
index bcbf6f71e9..e9ffdd17f1 100644
--- a/modules/gui/qt/components/controller.cpp
+++ b/modules/gui/qt/components/controller.cpp
@@ -1046,7 +1046,7 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
             b_fs = b_fullscreen;
             vlc_mutex_unlock( &lock );
 
-            if( b_fs )
+            if( b_fs && isHidden() )
                 showFSC();
 
             break;



More information about the vlc-commits mailing list