[vlc-commits] commit: Qt4: change comment on littlebit closer to the code (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Sun Jun 20 12:41:39 CEST 2010
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Jun 20 13:41:30 2010 +0300| [72be2e48e344bb8eb595f85c9392a35e9a66e870] | committer: Ilkka Ollakka
Qt4: change comment on littlebit closer to the code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72be2e48e344bb8eb595f85c9392a35e9a66e870
---
.../gui/qt4/components/playlist/playlist_model.cpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index d1a7ac4..ae6d7b7 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -779,10 +779,8 @@ void PLModel::updateTreeItem( PLItem *item )
/************************* Actions ******************************/
/**
- * Deletion, here we have to do a ugly slow hack as we retrieve the full
- * list of indexes to delete at once: when we delete a node and all of
- * its children, we need to update the list.
- * Todo: investigate whethere we can use ranges to be sure to delete all items?
+ * Deletion, don't delete items childrens if item is going to be
+ * delete allready, so we remove childrens from selection-list.
*/
void PLModel::doDelete( QModelIndexList selected )
{
More information about the vlc-commits
mailing list