Commit afe61c02 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Emit event to check inputchange in maininputmanager startup so

if playlist/item starts before that, it's noticed. Should
fix #1614 for qt4 part
parent 89cbc196
......@@ -505,6 +505,13 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
/* Warn our embedded IM about input changes */
CONNECT( this, inputChanged( input_thread_t * ),
im, setInput( input_thread_t * ) );
/* emit check if playlist has allready started playing */
vlc_value_t val;
var_Change( THEPL, "playlist-current", VLC_VAR_CHOICESCOUNT, &val, NULL );
IMEvent *event = new IMEvent( ItemChanged_Type, val.i_int);
QApplication::postEvent( this, static_cast<QEvent*>(event) );
}
MainInputManager::~MainInputManager()
......
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