# HG changeset patch # User insilmaril # Date 1142430833 0 # Node ID e7acede0377c7ca024674c15ce711c743027fae0 # Parent 30a4b721cffd707315f8d70d452f57fdef591f4d hide export for floatimages. diff -r 30a4b721cffd -r e7acede0377c floatobj.cpp --- a/floatobj.cpp Wed Mar 15 13:53:53 2006 +0000 +++ b/floatobj.cpp Wed Mar 15 13:53:53 2006 +0000 @@ -89,16 +89,6 @@ void FloatObj::reposition() { - /* FIXME not needed? - if (useOrientation) - { - if (parObj->getOrientation()==OrientLeftOfCenter) - move (parObj->getChildPos().x() - relPos.x() + parObj->width() - bbox.width(), parObj->y()+relPos.y()); - else - move (parObj->x()+relPos.x(), parObj->getChildPos().y()+relPos.y()); - } - else - */ move (parObj->getChildPos().x()+relPos.x(), parObj->getChildPos().y()+relPos.y()); updateLink(); } @@ -117,14 +107,6 @@ { LinkableMapObj::select(); LinkableMapObj::setLinkColor(parObj->getLinkColor()); - - // Update FloatExport switch in context menu - if (floatExport) - actionEditToggleFloatExport->setEnabled (true); - else - actionEditToggleFloatExport->setEnabled (true); - - } void FloatObj::unselect()