Commit 20e97a23 authored by Besnard Jean-Baptiste's avatar Besnard Jean-Baptiste Committed by Ilkka Ollakka

Qt : Keep preparsed items synced in playlist

Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent 828d9e77
...@@ -150,6 +150,9 @@ void InputManager::customEvent( QEvent *event ) ...@@ -150,6 +150,9 @@ void InputManager::customEvent( QEvent *event )
int i_type = event->type(); int i_type = event->type();
IMEvent *ple = static_cast<IMEvent *>(event); IMEvent *ple = static_cast<IMEvent *>(event);
if( i_type == ItemChanged_Type )
UpdateMeta( ple->p_item->i_id );
if( !hasInput() ) if( !hasInput() )
return; return;
...@@ -178,7 +181,6 @@ void InputManager::customEvent( QEvent *event ) ...@@ -178,7 +181,6 @@ void InputManager::customEvent( QEvent *event )
UpdateArt(); UpdateArt();
/* Update duration of file */ /* Update duration of file */
} }
UpdateMeta( ple->p_item->i_id );
break; break;
case ItemStateChanged_Type: case ItemStateChanged_Type:
// TODO: Fusion with above state // TODO: Fusion with above state
......
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