Skip to content
Commit f681fb0e authored by Oliver Sander's avatar Oliver Sander Committed by Albert Astals Cid
Browse files

Use range-based for to iterate over a QRegion

According to

  https://doc.qt.io/qt-5/qregion-obsolete.html#rects

the method QRegion::rects is obsolete and should be avoided.
Let's do that by moving to a range-based for over the QRegion.
That is easier to read anyway.
parent 19186016
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