From 72be2e48e344bb8eb595f85c9392a35e9a66e870 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Sun, 20 Jun 2010 13:41:30 +0300 Subject: [PATCH] Qt4: change comment on littlebit closer to the code --- modules/gui/qt4/components/playlist/playlist_model.cpp | 6 ++---- 1 file 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 d1a7ac4187..ae6d7b7329 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 ) { -- 2.39.2