flagrowobj.cpp
changeset 236 22a885118d50
parent 173 309609406650
child 241 f5243654fe86
     1.1 --- a/flagrowobj.cpp	Tue Jan 03 09:44:41 2006 +0000
     1.2 +++ b/flagrowobj.cpp	Wed Mar 08 12:59:08 2006 +0000
     1.3 @@ -125,14 +125,9 @@
     1.4  bool FlagRowObj::isActive (const QString &foname)
     1.5  {
     1.6  	FlagObj *fo=findFlag (foname);
     1.7 -	if (parentRow)
     1.8 -	{
     1.9 -		if (fo)
    1.10 -			return fo->isActive();
    1.11 -		else
    1.12 -			qWarning ("FlagRowObj::isActive of "+name+" couldn't find "+foname);
    1.13 -			
    1.14 -	} else
    1.15 +	if (parentRow && fo)
    1.16 +		return fo->isActive();
    1.17 +	else
    1.18  		if (fo) return true;
    1.19  	return false;
    1.20  }