qt4: update wall-paper mode toggling
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 5 Jan 2014 10:16:30 +0000 (12:16 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 5 Jan 2014 10:21:21 +0000 (12:21 +0200)
modules/gui/qt4/menus.cpp

index 8150bfa..be7c878 100644 (file)
@@ -239,7 +239,7 @@ static int VideoAutoMenuBuilder( playlist_t *pl, input_thread_t *p_input,
     PUSH_INPUTVAR( "video-es" );
     PUSH_PLVAR( "fullscreen" );
     PUSH_PLVAR( "video-on-top" );
-    PUSH_VAR( "video-wallpaper" );
+    PUSH_PLVAR( "video-wallpaper" );
     PUSH_VAR( "video-snapshot" );
     PUSH_VAR( "zoom" );
     PUSH_VAR( "autoscale" );
@@ -1531,7 +1531,8 @@ void VLCMenuBar::DoAction( QObject *data )
         var_Set( p_object, var, val );
 
     if( !strcmp( var, "fullscreen" )
-     || !strcmp( var, "video-on-top" ) ) /* FIXME: reverse abstraction */
+     || !strcmp( var, "video-on-top" )
+     || !strcmp( var, "video-wallpaper" ) ) /* FIXME: reverse abstraction */
     {   /* Apply playlist variables to current existing vout too */
         input_thread_t *input = playlist_CurrentInput((playlist_t *)p_object);
         if( input != NULL )