Remove obsolete call 'rects', use begin / end iterators.
rects creates a temporary vector with all the rectangles and returns the result, destructing in the end. we don't need that if we are only interested in iterating thru the rects. QRegion has begin / end so it's usable in Q_FOREACH and range based for.