1.1 --- a/flagobj.cpp Wed Jan 16 15:45:19 2008 +0000
1.2 +++ b/flagobj.cpp Thu May 07 08:48:53 2009 +0000
1.3 @@ -174,8 +174,6 @@
1.4 if (visible)
1.5 {
1.6 icon->setVisibility (true);
1.7 - //icon->setPos (100,100);
1.8 - //icon->setPos (rand()%100,rand()%130);
1.9 calcBBoxSize();
1.10 }
1.11 }
1.12 @@ -216,14 +214,11 @@
1.13 void FlagObj::calcBBoxSize()
1.14 {
1.15 if (visible && state)
1.16 - {
1.17 bbox.setSize ( QSizeF(
1.18 icon->boundingRect().width(),
1.19 icon->boundingRect().height() ) );
1.20 - } else
1.21 - {
1.22 + else
1.23 bbox.setSize (QSizeF(0,0));
1.24 - }
1.25 clickBox.setSize (bbox.size());
1.26 }
1.27