author | insilmaril |
Tue Jan 03 09:44:41 2006 +0000 (2006-01-03) | |
changeset 172 | fbb8c8560551 |
parent 171 | a98a07994eed |
child 173 | 309609406650 |
flagobj.cpp | file | annotate | diff | revisions |
1.1 --- a/flagobj.cpp Tue Jan 03 09:44:41 2006 +0000 1.2 +++ b/flagobj.cpp Tue Jan 03 09:44:41 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