qt4: change callback to new playlist-item-append/deleted
authorIlkka Ollakka <ileoo@videolan.org>
Mon, 16 Feb 2009 23:23:34 +0000 (01:23 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Mon, 16 Feb 2009 23:24:31 +0000 (01:24 +0200)
modules/gui/qt4/components/playlist/playlist_model.cpp

index 64e52fc..6b797cd 100644 (file)
@@ -228,8 +228,8 @@ void PLModel::addCallbacks()
     var_AddCallback( p_playlist, "item-current", PlaylistNext, this );
     */
     /* One item has been updated */
-    var_AddCallback( p_playlist, "item-append", ItemAppended, this );
-    var_AddCallback( p_playlist, "item-deleted", ItemDeleted, this );
+    var_AddCallback( p_playlist, "playlist-item-append", ItemAppended, this );
+    var_AddCallback( p_playlist, "playlist-item-deleted", ItemDeleted, this );
 }
 
 void PLModel::delCallbacks()