[vlc-commits] qt: Inherit "fullscreen" from the config

Hugo Beauzée-Luyssen git at videolan.org
Tue Jan 31 10:12:48 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Jan 31 10:10:42 2017 +0100| [cfac101ef4f0a510ed26cd0c29c5f33f735c10f4] | committer: Hugo Beauzée-Luyssen

qt: Inherit "fullscreen" from the config

This fix initial playback not being fullscreen when the fullscreen
preference is toggled.
ref #17101

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

 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 2c5e845..e6769bc 100644
--- a/modules/gui/qt/components/controller.cpp
+++ b/modules/gui/qt/components/controller.cpp
@@ -1189,7 +1189,7 @@ void FullscreenControllerWidget::setVoutList( vout_thread_t **pp_vout, int i_vou
         var_AddCallback( p_vout, "fullscreen",
                          FullscreenControllerWidget::FullscreenChanged, this );
         /* I miss a add and fire */
-        emit fullscreenChanged( p_vout, var_GetBool( THEPL, "fullscreen" ),
+        emit fullscreenChanged( p_vout, var_InheritBool( THEPL, "fullscreen" ),
                            var_GetInteger( p_vout, "mouse-hide-timeout" ) );
         vlc_mutex_unlock( &lock );
     }



More information about the vlc-commits mailing list