]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/input_manager.cpp
Fix play/pause icons
[vlc] / modules / gui / qt4 / input_manager.cpp
index 34ab07b5a775b6285e822061fce250e736d67f33..f541210463e2dd5d0785d55915bd51c7911125bd 100644 (file)
@@ -53,13 +53,13 @@ void InputManager::setInput( input_thread_t *_p_input )
 void InputManager::update()
 {
     /// \todo Emit the signals only if it changed
-    if( !p_input || p_input->b_die ) return;
+    if( !p_input  ) return;
 
-    if( p_input->b_dead )
+    if( p_input->b_dead || p_input->b_die )
     {
         emit positionUpdated( 0.0, 0, 0 );
         emit navigationChanged( 0 );
-        emit statusChanged( 0 ); // 0 = STOPPED, 1 = PAUSE, 2 = PLAY
+        emit statusChanged( 0 ); // 0 = STOPPED, 1 = PLAY, 2 = PAUSE
     }
 
     /* Update position */