path: root/examples/widgets/statemachine/rogue
diff options
authorMarc Mutz <>2017-12-07 09:45:48 +0100
committerMarc Mutz <>2017-12-08 14:35:40 +0000
commitcd56e843cc53938111879c21570eaf8225719743 (patch)
tree258ed91bad361447f58653a54b5f901187f60573 /examples/widgets/statemachine/rogue
parent87ae689ed6f8b57265bce341207db9bcc8138ab9 (diff)
Android: port away from QRegion::rects()
Use being()/end() instead. The region of whose rects() we iterate here is modified in the loop body, so take a copy of the rectangles. Since QVector is still missing a range constructor, use std::vector. This does not cause extra copies, since the QVector inside QRegion would detach anyway, when the QRegion is modified inside the loop. Change-Id: Ib973e825b55d9c9568936cb80180858163d87379 Reviewed-by: BogDan Vatra <>
Diffstat (limited to 'examples/widgets/statemachine/rogue')
0 files changed, 0 insertions, 0 deletions