From: Ilkka Ollakka Date: Sun, 20 Jun 2010 10:41:30 +0000 (+0300) Subject: Qt4: change comment on littlebit closer to the code X-Git-Tag: 1.2.0-pre1~6107 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=72be2e48e344bb8eb595f85c9392a35e9a66e870;p=vlc Qt4: change comment on littlebit closer to the code --- 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 ) {