Commit 3734ddc9 authored by Rémi Duraffort's avatar Rémi Duraffort

Qt4: We must lock the playlist before calling UpdateTreeItem()

parent 3921a7f8
......@@ -523,7 +523,11 @@ void PLModel::ProcessInputItemUpdate( int i_input_id )
if( i_input_id <= 0 ) return;
PLItem *item = FindByInput( rootItem, i_input_id );
if( item )
{
QPL_LOCK;
UpdateTreeItem( item, true );
QPL_UNLOCK;
}
}
void PLModel::ProcessItemRemoval( int i_id )
......
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