[vlc-devel] commit: Qt : Keep preparsed items synced in playlist ( Besnard Jean-Baptiste )
git version control
git at videolan.org
Wed Jul 22 14:42:27 CEST 2009
vlc | branch: 1.0-bugfix | Besnard Jean-Baptiste <jbbesnard at actech-innovation.com> | Wed Jul 22 09:21:43 2009 +0200| [6c3049e60383e447cde894616cf68651a2f3fb4a] | committer: Ilkka Ollakka
Qt : Keep preparsed items synced in playlist
cherry-picked from 20e97a2349735c85d03edd96a16f4a66233bcd2d
Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6c3049e60383e447cde894616cf68651a2f3fb4a
---
modules/gui/qt4/input_manager.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 30c170e..d032f55 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -150,6 +150,9 @@ void InputManager::customEvent( QEvent *event )
int i_type = event->type();
IMEvent *ple = static_cast<IMEvent *>(event);
+ if( i_type == ItemChanged_Type )
+ UpdateMeta( ple->i_id );
+
if( !hasInput() )
return;
@@ -178,7 +181,6 @@ void InputManager::customEvent( QEvent *event )
UpdateArt();
/* Update duration of file */
}
- UpdateMeta( ple->i_id );
break;
case ItemStateChanged_Type:
// TODO: Fusion with above state
More information about the vlc-devel
mailing list