/* Warn our embedded IM about input changes */
DCONNECT( this, inputChanged( input_thread_t * ),
im, inputChangedHandler() );
-
- /* initialize p_input (an input can already be running) */
- p_input = playlist_CurrentInput( THEPL );
- if( p_input )
- emit inputChanged( p_input );
}
MainInputManager::~MainInputManager()
/* Initialize the Dialog Provider and the Main Input Manager */
DialogsProvider::getInstance( p_intf );
- MainInputManager::getInstance( p_intf );
+ MainInputManager *mim = MainInputManager::getInstance( p_intf );
+ /* initialize p_input (an input can already be running) */
+ input_thread_t *p_input = playlist_CurrentInput( THEPL );
+ if( p_input )
+ mim->getIM()->inputChangedHandler();
#ifdef UPDATE_CHECK
/* Checking for VLC updates */