branchobj.cpp
changeset 792 7d67be709091
parent 790 133e2ed6b9c5
child 793 cac93797c580
     1.1 --- a/branchobj.cpp	Mon Sep 07 15:36:57 2009 +0000
     1.2 +++ b/branchobj.cpp	Tue Sep 08 12:15:39 2009 +0000
     1.3 @@ -143,7 +143,9 @@
     1.4  	if (parObj->getTreeItem()->depth()==0)	
     1.5  	{	// new parent is a mapcenter
     1.6  
     1.7 -		QPointF p= normalize ( QPointF (m.x() - o->getChildPos().x(),
     1.8 +		//FIXME-2 rewrite to us new normalize QPointF p= normalize ( QPointF (m.x() - o->getChildPos().x(),
     1.9 +		//								  m.y() - o->getChildPos().y() ));
    1.10 +		QPointF p= ( QPointF (m.x() - o->getChildPos().x(),
    1.11  									  m.y() - o->getChildPos().y() ));
    1.12  		if (p.x()<0) p.setX( p.x()-bbox.width() );
    1.13  		move2RelPos (p);