Qt4: change comment on littlebit closer to the code

This commit is contained in:
Ilkka Ollakka 2010-06-20 13:41:30 +03:00
parent c80a170ae0
commit 72be2e48e3
1 changed files with 2 additions and 4 deletions

View 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 )
{