]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/playlist/playlist_model.cpp
Use pl_Locked and pl_Unlocked.
[vlc] / modules / gui / qt4 / components / playlist / playlist_model.cpp
index 710156accb017bc480237547565c27e8e482d05c..60ffb4f4c7e76124be675afb4c68940e3d0d8be8 100644 (file)
@@ -705,7 +705,7 @@ void PLModel::doDeleteItem( PLItem *item, QModelIndexList *fullList )
         PL_UNLOCK; return;
     }
     if( p_item->i_children == -1 )
-        playlist_DeleteFromInput( p_playlist, item->i_input_id, true );
+        playlist_DeleteFromInput( p_playlist, item->i_input_id, pl_Locked );
     else
         playlist_NodeDelete( p_playlist, p_item, true, false );
     /* And finally, remove it from the tree */