Commit a3a8dd0b authored by Marc Mutz's avatar Marc Mutz
Browse files

Port away from QRegion::rects()


Use begin()/end() instead.

Drop the special handling of rectCount() == 1, since with begin()/end(),
we no longer take the hit of creating a QVector just to be able to return
it from rects().

Change-Id: I4c03e10f7a8bfea87cb04aed7b87410991020a89
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@qt.io>
parent 5471abc9
Showing with 1 addition and 7 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment