diff -r a8a5c7288f57 -r c6908bc17d78 linkablemapobj.cpp --- a/linkablemapobj.cpp Mon Apr 27 12:07:15 2009 +0000 +++ b/linkablemapobj.cpp Mon Apr 27 12:42:06 2009 +0000 @@ -564,39 +564,6 @@ return parObj; } -LinkableMapObj* LinkableMapObj::findObjBySelect (QString s) // FIXME-0 already in VM??? -{ - LinkableMapObj *lmo=this; - QString part; - QString typ; - QString num; - while (!s.isEmpty() ) - { - part=s.section(",",0,0); - typ=part.left (3); - num=part.right(part.length() - 3); - if (typ=="mc:") - { - if (treeItem->depth()>0) - return false; // in a subtree there is no center - else - break; - } else - if (typ=="bo:") - lmo=lmo->getTreeItem()->getBranchObjNum (num.toInt()); - else - if (typ=="fi:") - lmo=((BranchObj*)lmo)->getFloatImageNum (num.toUInt()); - if (!lmo) break; - - if (s.contains(",")) - s=s.right(s.length() - part.length() -1 ); - else - break; - } - return lmo; -} - QPointF LinkableMapObj::getChildPos() { return childPos;