]> git.sesse.net Git - vlc/commitdiff
Revert "qt4: rebuild tree on updateTreeItem"
authorJakob Leben <jleben@videolan.org>
Mon, 26 Oct 2009 21:01:51 +0000 (22:01 +0100)
committerJakob Leben <jleben@videolan.org>
Tue, 27 Oct 2009 02:04:49 +0000 (03:04 +0100)
This reverts commit 0adb9cebe14e6e3df513e2b79f74232764dab4ac.

modules/gui/qt4/components/playlist/playlist_model.cpp

index 6f762bf4fb34b058759abfdf4eccd11f869daccf..a61434cc82ec313432bae4efb532ca2bb309c855 100644 (file)
@@ -803,8 +803,7 @@ void PLModel::updateChildren( playlist_item_t *p_node, PLItem *root )
 void PLModel::updateTreeItem( PLItem *item )
 {
     if( !item ) return;
-    rebuild();
-    //emit dataChanged( index( item, 0 ) , index( item, columnCount( QModelIndex() ) ) );
+    emit dataChanged( index( item, 0 ) , index( item, columnCount( QModelIndex() ) ) );
 }
 
 /************************* Actions ******************************/