diff -r 2d4cc445a86a -r ee6b0f3a4c2f selection.cpp --- a/selection.cpp Mon Mar 23 09:06:51 2009 +0000 +++ b/selection.cpp Thu Mar 26 07:49:17 2009 +0000 @@ -26,7 +26,7 @@ model=m; } -void Selection::update() // FIXME VM emit signal in VM instead and get rid of this +void Selection::update() // FIXME-2 VM emit signal in VM instead and get rid of this { /* QRectF bbox; @@ -88,19 +88,6 @@ void Selection::unselect() { model->unselect(); - /* - cout << "Sel::unselect\n"; - if (!selectList.isEmpty() ) - { - for (int i=0; i< selectList.count(); ++i) - selectList.at(i)->unselect(); - lastSelectList=selectList; - selectList.clear(); - // FIXME VM move to ME - //while (!selboxList.isEmpty() ) - // delete selboxList.takeFirst(); - } - */ } bool Selection::isBlocked() @@ -164,7 +151,7 @@ TreeItem* Selection::getBranchItem() { BranchObj* bo=getBranch(); - if (bo) return bo->getTreeItem(); // FIXME VM get directly from treemodl + if (bo) return bo->getTreeItem(); // VM get directly from treemodl return NULL; } @@ -186,7 +173,7 @@ return NULL; } -QString Selection::getSelectString() // FIXME VM this is also in VM ?! clean up here... +QString Selection::getSelectString() // FIXME-2 VM this is also in VM ?! clean up here... // TODO no multiselections yet { if (selectList.count()==1)