diff -r 1fb50e79661c -r fe839bdfd10c branchitem.cpp --- a/branchitem.cpp Tue Jul 07 09:34:24 2009 +0000 +++ b/branchitem.cpp Tue Jul 07 11:21:27 2009 +0000 @@ -158,43 +158,6 @@ { } -void BranchItem::setVymLink(QString s) -{ - if (!s.isEmpty()) - { - // We need the relative (from loading) - // or absolute path (from User event) - // and build the absolute path. - // Note: If we have relative, use path of - // current map to build absolute path - QDir d(s); - if (!d.path().startsWith ("/")) - { - QString p=model->getDestPath(); - int i=p.findRev("/",-1); - d.setPath(p.left(i)+"/"+s); - d.convertToAbs(); - } - vymLink=d.path(); - //FIXME-2 systemFlags->activate("vymLink"); - } - else - { - //FIXME-2 systemFlags->deactivate("vymLink"); - vymLink=""; - } - /* FIXME-2 - calcBBoxSize(); // recalculate bbox - positionBBox(); // rearrange contents - forceReposition(); - */ -} - -QString BranchItem::getVymLink() -{ - return vymLink; -} - void BranchItem::setHeadingColor (QColor color) { TreeItem::setHeadingColor (color);