changeset 331 | 3481adf33849 |
parent 166 | 325958acb69b |
child 366 | e95081c21da2 |
1.1 --- a/flagobj.cpp Mon Oct 10 11:20:25 2005 +0000 1.2 +++ b/flagobj.cpp Fri May 19 08:16:30 2006 +0000 1.3 @@ -194,8 +194,8 @@ 1.4 1.5 void FlagObj::positionBBox() 1.6 { 1.7 - bbox.setX (absPos.x() ); 1.8 - bbox.setY (absPos.y() ); 1.9 + bbox.moveTopLeft (absPos ); 1.10 + clickBox.moveTopLeft (absPos ); 1.11 } 1.12 1.13 void FlagObj::calcBBoxSize() 1.14 @@ -209,5 +209,6 @@ 1.15 { 1.16 bbox.setSize (QSize(0,0)); 1.17 } 1.18 + clickBox.setSize (bbox.size()); 1.19 } 1.20