branchobj.cpp
changeset 789 d85834ad8c54
parent 788 78ba80b54bc4
child 790 133e2ed6b9c5
     1.1 --- a/branchobj.cpp	Tue Aug 18 12:39:07 2009 +0000
     1.2 +++ b/branchobj.cpp	Mon Aug 24 14:39:07 2009 +0000
     1.3 @@ -147,7 +147,7 @@
     1.4  	if (parObj->getTreeItem()->depth()==0)	
     1.5  	{	// new parent is a mapcenter
     1.6  
     1.7 -		QPointF p= normalise ( QPointF (m.x() - o->getChildPos().x(),
     1.8 +		QPointF p= normalize ( QPointF (m.x() - o->getChildPos().x(),
     1.9  									  m.y() - o->getChildPos().y() ));
    1.10  		if (p.x()<0) p.setX( p.x()-bbox.width() );
    1.11  		move2RelPos (p);