Commit 72be2e48 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Qt4: change comment on littlebit closer to the code

parent c80a170a
...@@ -779,10 +779,8 @@ void PLModel::updateTreeItem( PLItem *item ) ...@@ -779,10 +779,8 @@ void PLModel::updateTreeItem( PLItem *item )
/************************* Actions ******************************/ /************************* Actions ******************************/
/** /**
* Deletion, here we have to do a ugly slow hack as we retrieve the full * Deletion, don't delete items childrens if item is going to be
* list of indexes to delete at once: when we delete a node and all of * delete allready, so we remove childrens from selection-list.
* its children, we need to update the list.
* Todo: investigate whethere we can use ranges to be sure to delete all items?
*/ */
void PLModel::doDelete( QModelIndexList selected ) void PLModel::doDelete( QModelIndexList selected )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment