1.8.71 Basic support for macros
authorinsilmaril
Tue Apr 10 13:22:51 2007 +0000 (2007-04-10)
changeset 446c56ce5d81cc3
parent 445 0796c5592f00
child 447 72afe12da1c8
1.8.71 Basic support for macros
flagrowobj.cpp
     1.1 --- a/flagrowobj.cpp	Mon Apr 09 15:42:21 2007 +0000
     1.2 +++ b/flagrowobj.cpp	Tue Apr 10 13:22:51 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)