double size = i.value().toDouble( &isValue );
ok = ( !isValue || size >= minSize );
}
- for ( QMapIterator<QString, TAttractorVec > i( myATTMap ); i.hasNext() && ok ; i.next() )
+ for ( QMapIterator<QString, TAttractorVec > i( myATTMap ); i.hasNext() && ok ; )
{
+ i.next();
const TAttractorVec& attVec = i.value();
for ( size_t i = 0; i < attVec.size(); ++i )
ok = ( attVec[i].IsToDelete() || attVec[i].startSize >= minSize );
double size = i.value().toDouble( &isValue );
ok = ( !isValue || size <= userSize );
}
- for ( QMapIterator<QString, TAttractorVec > i( myATTMap ); i.hasNext() && ok ; i.next() )
+ for ( QMapIterator<QString, TAttractorVec > i( myATTMap ); i.hasNext() && ok ; )
{
+ i.next();
const TAttractorVec& attVec = i.value();
for ( size_t i = 0; i < attVec.size(); ++i )
ok = ( attVec[i].IsToDelete() || attVec[i].startSize <= userSize );