Commit e3548f53 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - cosmetic.

parent c0082a6a
...@@ -87,8 +87,10 @@ void InputManager::setInput( input_thread_t *_p_input ) ...@@ -87,8 +87,10 @@ void InputManager::setInput( input_thread_t *_p_input )
UpdateTitle(); UpdateTitle();
UpdateArt(); UpdateArt();
addCallbacks(); addCallbacks();
i_input_id = input_GetItem( p_input )->i_id; i_input_id = input_GetItem( p_input )->i_id;
} else { }
else
{
p_input = NULL; p_input = NULL;
i_input_id = 0; i_input_id = 0;
} }
...@@ -165,7 +167,7 @@ void InputManager::customEvent( QEvent *event ) ...@@ -165,7 +167,7 @@ void InputManager::customEvent( QEvent *event )
type != ItemTitleChanged_Type && type != ItemTitleChanged_Type &&
type != ItemStateChanged_Type ) type != ItemStateChanged_Type )
return; return;
if( !p_input || p_input->b_die || p_input->b_dead ) if( !p_input || p_input->b_die || p_input->b_dead )
return; return;
if( type != PositionUpdate_Type && ( i_input_id != ple->i_id ) ) if( type != PositionUpdate_Type && ( i_input_id != ple->i_id ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment