qt4 fullscreen: Uses FIND_ANYWHERE to find vout, fixes trax issue 24
authorRafaël Carré <funman@videolan.org>
Sat, 8 Sep 2007 20:13:16 +0000 (20:13 +0000)
committerRafaël Carré <funman@videolan.org>
Sat, 8 Sep 2007 20:13:16 +0000 (20:13 +0000)
modules/gui/qt4/components/interface_widgets.cpp

index 13b3af4..8d5b96d 100644 (file)
@@ -606,7 +606,7 @@ void ControlsWidget::setStatus( int status )
  */
 void ControlsWidget::fullscreen()
 {
-    vout_thread_t *p_vout = (vout_thread_t *)vlc_object_find( p_intf, VLC_OBJECT_VOUT, FIND_CHILD );
+    vout_thread_t *p_vout = (vout_thread_t *)vlc_object_find( p_intf, VLC_OBJECT_VOUT, FIND_ANYWHERE );
     if( p_vout)
     {
         var_SetBool( p_vout, "fullscreen", !var_GetBool( p_vout, "fullscreen" ) );