linkablemapobj.cpp
changeset 782 ffb02a9bb508
parent 779 1fb50e79661c
child 785 5987f9f15bac
     1.1 --- a/linkablemapobj.cpp	Tue Jul 07 09:34:24 2009 +0000
     1.2 +++ b/linkablemapobj.cpp	Mon Jul 27 12:53:17 2009 +0000
     1.3 @@ -86,7 +86,6 @@
     1.4  	// Rel Positions
     1.5  	relPos=QPointF(0,0);
     1.6  	useRelPos=false;
     1.7 -	useOrientation=true;
     1.8  
     1.9  	// Crossreference to treemodel
    1.10  	treeItem=NULL;
    1.11 @@ -99,7 +98,6 @@
    1.12      setLinkStyle(other->style);
    1.13      setLinkColor (other->linkcolor);
    1.14  	relPos=other->relPos;
    1.15 -	useOrientation=other->useOrientation;
    1.16  	treeItem=other->treeItem;
    1.17  }
    1.18  
    1.19 @@ -552,15 +550,6 @@
    1.20      return parPos;
    1.21  }
    1.22  
    1.23 -void LinkableMapObj::setUseOrientation (const bool &b)
    1.24 -{	
    1.25 -	if (useOrientation!=b)
    1.26 -	{
    1.27 -		useOrientation=b;
    1.28 -		requestReposition();
    1.29 -	}	
    1.30 -}
    1.31 -
    1.32  LinkableMapObj::Orientation LinkableMapObj::getOrientation()
    1.33  {
    1.34      return orientation;