flagrowobj.cpp
changeset 582 a4c3dd0e48de
parent 425 7014be3ac7d0
child 644 954221e01e4e
     1.1 --- a/flagrowobj.cpp	Mon Feb 12 09:28:46 2007 +0000
     1.2 +++ b/flagrowobj.cpp	Thu Aug 09 18:34:08 2007 +0000
     1.3 @@ -214,7 +214,12 @@
     1.4  		for (int i=0; i<flag.size(); ++i)
     1.5  			if (flag.at(i)->isActive()) flag.at(i)->deactivate();
     1.6  	} else
     1.7 -		qWarning ("FlagRowObj::deactivateAll mustn't be called for ordinary rows");
     1.8 +	{
     1.9 +		while (!flag.isEmpty())
    1.10 +			delete flag.takeFirst();
    1.11 +		calcBBoxSize();
    1.12 +		positionBBox();
    1.13 +	}
    1.14  }
    1.15  
    1.16  void FlagRowObj::deactivateGroup (FlagObj *keepfo)