Commit 24fcfe47 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Qt4 - IM. cosmetic.

parent 047552b0
...@@ -171,8 +171,8 @@ void InputManager::customEvent( QEvent *event ) ...@@ -171,8 +171,8 @@ void InputManager::customEvent( QEvent *event )
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 && type != ItemRateChanged_Type ) if( ( type != PositionUpdate_Type && type != ItemRateChanged_Type ) &&
&& ( i_input_id != ple->i_id ) ) ( i_input_id != ple->i_id ) )
return; return;
if( type != PositionUpdate_Type ) if( type != PositionUpdate_Type )
msg_Dbg( p_intf, "New Event: type %i", type ); msg_Dbg( p_intf, "New Event: type %i", type );
...@@ -394,10 +394,8 @@ void InputManager::telexGotoPage( int page ) ...@@ -394,10 +394,8 @@ void InputManager::telexGotoPage( int page )
void InputManager::telexToggle( bool b_enabled ) void InputManager::telexToggle( bool b_enabled )
{ {
int i_page = 0; int i_page = b_enabled ? 100 : 0 ;
if( b_enabled )
i_page = 100;
telexGotoPage( i_page ); telexGotoPage( i_page );
} }
......
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