diff -r d4b49c6c6069 -r 8c028a5d9083 flagobj.cpp --- a/flagobj.cpp Wed Jan 16 15:45:19 2008 +0000 +++ b/flagobj.cpp Fri May 01 10:30:29 2009 +0000 @@ -174,8 +174,6 @@ if (visible) { icon->setVisibility (true); - //icon->setPos (100,100); - //icon->setPos (rand()%100,rand()%130); calcBBoxSize(); } } @@ -216,14 +214,11 @@ void FlagObj::calcBBoxSize() { if (visible && state) - { bbox.setSize ( QSizeF( icon->boundingRect().width(), icon->boundingRect().height() ) ); - } else - { + else bbox.setSize (QSizeF(0,0)); - } clickBox.setSize (bbox.size()); }