]> git.sesse.net Git - vlc/commitdiff
Qt4 - GotoTime: force emission of update() in the IM, in order to fix Trax#33
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 8 Sep 2007 10:56:44 +0000 (10:56 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 8 Sep 2007 10:56:44 +0000 (10:56 +0000)
modules/gui/qt4/dialogs/gototime.cpp
modules/gui/qt4/input_manager.cpp

index 56311c9414b88b81df0f0493bfb20abde43b385e..c3aba13e8ba99d91aa0e718ec3ff07ba96a0ca2e 100644 (file)
@@ -108,4 +108,6 @@ void GotoTimeDialog::close()
         var_SetTime( THEMIM->getInput(), "time", i_time );
     }
     this->toggleVisible();
+    timeEdit->setTime( QTime( 0, 0, 0) );
+    THEMIM->getIM()->update();
 }
index 18ddc5ca37d6c0babc21fb97c0c7c1752c8a9700..36459d6744bdbabee1221e1880e7684621184622 100644 (file)
@@ -109,7 +109,7 @@ void InputManager::update()
         val.i_int = 0;
         var_Change( p_input, "chapter", VLC_VAR_CHOICESCOUNT, &val, NULL );
         if( val.i_int > 0 )
-        {          
+        {
             emit navigationChanged( 1 ); // 1 = chapter, 2 = title, 0 = NO
         }
         else