Commit 3448e372 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt, playlist: simplify

parent 5b143370
...@@ -581,11 +581,8 @@ void PLModel::processInputItemUpdate( ) ...@@ -581,11 +581,8 @@ void PLModel::processInputItemUpdate( )
input_thread_t *p_input = THEMIM->getInput(); input_thread_t *p_input = THEMIM->getInput();
if( !p_input ) return; if( !p_input ) return;
if( p_input )
{
PLItem *item = findByInputId( rootItem, input_GetItem( p_input )->i_id ); PLItem *item = findByInputId( rootItem, input_GetItem( p_input )->i_id );
if( item ) emit currentIndexChanged( index( item, 0 ) ); if( item ) emit currentIndexChanged( index( item, 0 ) );
}
processInputItemUpdate( input_GetItem( p_input ) ); processInputItemUpdate( input_GetItem( p_input ) );
} }
......
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