[vlc-devel] commit: Revert "qt4: rebuild tree on updateTreeItem" (Jakob Leben )
git version control
git at videolan.org
Tue Oct 27 03:12:36 CET 2009
vlc | branch: master | Jakob Leben <jleben at videolan.org> | Mon Oct 26 22:01:51 2009 +0100| [f4e0745ef5bf931281053c36c8a633566b87f29e] | committer: Jakob Leben
Revert "qt4: rebuild tree on updateTreeItem"
This reverts commit 0adb9cebe14e6e3df513e2b79f74232764dab4ac.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f4e0745ef5bf931281053c36c8a633566b87f29e
---
.../gui/qt4/components/playlist/playlist_model.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 6f762bf..a61434c 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -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 ******************************/
More information about the vlc-devel
mailing list