]> git.sesse.net Git - vlc/commitdiff
Qt4 - cosmetic.
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 10 Feb 2008 12:01:30 +0000 (12:01 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 10 Feb 2008 12:01:30 +0000 (12:01 +0000)
modules/gui/qt4/input_manager.cpp

index 2a37393ce1434a0554e1f459e02c0d0d1acd13aa..527e984fc6778afa1cf05862320472704bb809bc 100644 (file)
@@ -87,8 +87,10 @@ void InputManager::setInput( input_thread_t *_p_input )
         UpdateTitle();
         UpdateArt();
         addCallbacks();
-        i_input_id = input_GetItem( p_input )->i_id; 
-    } else {
+        i_input_id = input_GetItem( p_input )->i_id;
+    }
+    else
+    {
         p_input = NULL;
         i_input_id = 0;
     }
@@ -165,7 +167,7 @@ void InputManager::customEvent( QEvent *event )
          type != ItemTitleChanged_Type &&
          type != ItemStateChanged_Type )
         return;
-    
+
     if( !p_input || p_input->b_die || p_input->b_dead )
         return;
     if( type != PositionUpdate_Type && ( i_input_id != ple->i_id )  )