]> git.sesse.net Git - vlc/commitdiff
Qt4: change comment on littlebit closer to the code
authorIlkka Ollakka <ileoo@videolan.org>
Sun, 20 Jun 2010 10:41:30 +0000 (13:41 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Sun, 20 Jun 2010 10:41:30 +0000 (13:41 +0300)
modules/gui/qt4/components/playlist/playlist_model.cpp

index d1a7ac4187483f631432f655e45510f47f316ae3..ae6d7b73292d289fd2c2d7fd199b4474cd4d63d3 100644 (file)
@@ -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 )
 {