diff -r e0a3449f4458 -r fb74fa7bfb4c linkablemapobj.cpp --- a/linkablemapobj.cpp Mon Feb 12 09:28:46 2007 +0000 +++ b/linkablemapobj.cpp Mon Feb 12 09:28:47 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); }