[vlc-devel] commit: Fix DVD menu button. Fix metadata name displaying. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Jun 24 08:22:24 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 23 23:23:52 2008 -0700| [268ae7b98abba5ed899879988293964d7d6d7e0a]

Fix DVD menu button. Fix metadata name displaying.

This needs more checks, because we might have unneeded stuffs left.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=268ae7b98abba5ed899879988293964d7d6d7e0a
---

 modules/gui/qt4/input_manager.cpp |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index d53ccb5..936aeb9 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -83,9 +83,9 @@ void InputManager::setInput( input_thread_t *_p_input )
         vlc_object_yield( p_input );
         emit statusChanged( PLAYING_S );
         UpdateMeta();
-        UpdateNavigation();
         UpdateArt();
         UpdateSPU();
+        UpdateNavigation();
         addCallbacks();
         i_input_id = input_GetItem( p_input )->i_id;
     }
@@ -189,19 +189,21 @@ void InputManager::customEvent( QEvent *event )
         break;
     case ItemChanged_Type:
         UpdateMeta();
-        UpdateNavigation();
         UpdateStatus();
         UpdateArt();
         break;
-    case ItemRateChanged_Type:
-        UpdateRate();
+    case ItemStateChanged_Type:
+        UpdateStatus();
+        UpdateNavigation();
+        UpdateMeta();
         break;
     case ItemTitleChanged_Type:
         UpdateNavigation();
         UpdateMeta();
         break;
-    case ItemStateChanged_Type:
-        UpdateStatus();
+    case ItemRateChanged_Type:
+        UpdateRate();
+        break;
     case ItemSpuChanged_Type:
         UpdateSPU();
         break;




More information about the vlc-devel mailing list