Commit 7ad82f89 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - GotoTime: force emission of update() in the IM, in order to fix Trax#33

parent 0ce22e78
...@@ -108,4 +108,6 @@ void GotoTimeDialog::close() ...@@ -108,4 +108,6 @@ void GotoTimeDialog::close()
var_SetTime( THEMIM->getInput(), "time", i_time ); var_SetTime( THEMIM->getInput(), "time", i_time );
} }
this->toggleVisible(); this->toggleVisible();
timeEdit->setTime( QTime( 0, 0, 0) );
THEMIM->getIM()->update();
} }
...@@ -109,7 +109,7 @@ void InputManager::update() ...@@ -109,7 +109,7 @@ void InputManager::update()
val.i_int = 0; val.i_int = 0;
var_Change( p_input, "chapter", VLC_VAR_CHOICESCOUNT, &val, NULL ); var_Change( p_input, "chapter", VLC_VAR_CHOICESCOUNT, &val, NULL );
if( val.i_int > 0 ) if( val.i_int > 0 )
{ {
emit navigationChanged( 1 ); // 1 = chapter, 2 = title, 0 = NO emit navigationChanged( 1 ); // 1 = chapter, 2 = title, 0 = NO
} }
else else
......
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