Commit 0162ce10 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Be sure of the existence of getInput.

parent 2a517004
......@@ -101,7 +101,8 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
CONNECT( THEMIM, inputChanged( input_thread_t * ),
this, update( input_thread_t * ) );
p_item = input_GetItem( THEMIM->getInput() );
if( THEMIM->getInput() )
p_item = input_GetItem( THEMIM->getInput() );
}
/* Call update by hand, so info is shown from current item too */
......
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