headingobj.cpp
changeset 173 309609406650
parent 166 325958acb69b
child 185 6691000c3262
     1.1 --- a/headingobj.cpp	Tue Jan 03 09:44:41 2006 +0000
     1.2 +++ b/headingobj.cpp	Tue Jan 03 09:44:41 2006 +0000
     1.3 @@ -40,8 +40,10 @@
     1.4  void HeadingObj::move(double x, double y)
     1.5  {
     1.6      MapObj::move(x,y);
     1.7 +
     1.8      int h;	// height of a textline
     1.9      int ho;	// offset of height while drawing all lines
    1.10 +
    1.11      if (textline.first() )
    1.12  		h=textline.first()->boundingRect().height();
    1.13      else
    1.14 @@ -185,6 +187,7 @@
    1.15  		}		    
    1.16      }
    1.17  	setVisibility (visible);
    1.18 +	move (absPos.x(),absPos.y());
    1.19  	calcBBoxSize();
    1.20  }
    1.21