diff -r 8059b6aa74d7 -r 9ae68208e2ff linkablemapobj.cpp --- a/linkablemapobj.cpp Fri Dec 29 13:52:17 2006 +0000 +++ b/linkablemapobj.cpp Mon Feb 19 12:01:52 2007 +0000 @@ -500,6 +500,7 @@ double vy=p2y - p1y; // Draw the horizontal line below heading (from ChildPos to ParPos) + //bottomline->prepareGeometryChange(); bottomline->setLine (QLine (qRound(childPos.x()), qRound(childPos.y()), qRound(p1x), @@ -517,6 +518,7 @@ switch (style) { case StyleLine: + //l->prepareGeometryChange(); l->setLine( QLine(qRound (parPos.x()), qRound(parPos.y()), qRound(p2x), @@ -525,13 +527,17 @@ case StyleParabel: parabel (pa0, p1x,p1y,p2x,p2y); for (int i=0; iprepareGeometryChange(); segment.at(i)->setLine(QLineF( pa0.at(i).x(), pa0.at(i).y(),pa0.at(i+1).x(),pa0.at(i+1).y())); + } break; case StylePolyLine: pa0.clear(); pa0<prepareGeometryChange(); p->setPolygon(QPolygonF (pa0)); break; case StylePolyParabel: @@ -542,6 +548,7 @@ pa0 << QPointF (pa1.at(i)); for (int i=0;i<=arcsegs;i++) pa0 << QPointF (pa2.at(arcsegs-i)); + //p->prepareGeometryChange(); p->setPolygon(QPolygonF (pa0)); break; default: @@ -682,6 +689,7 @@ void LinkableMapObj::setSelBox() { + //selbox->prepareGeometryChange(); selbox->setRect (clickBox); }