[vlc-commits] qt: FSC: Don't spam showFSC calls.
Hugo Beauzée-Luyssen
git at videolan.org
Wed Mar 21 15:08:05 CET 2018
vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Mar 20 16:56:46 2018 +0100| [1d1d4e5317f507e1aaa77b21bdb8fb30ee2fc75e] | committer: Hugo Beauzée-Luyssen
qt: FSC: Don't spam showFSC calls.
Show it when its hidden
(cherry picked from commit 669bcf20696b883279c00b7e7846b787603a5050)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=1d1d4e5317f507e1aaa77b21bdb8fb30ee2fc75e
---
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