diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2017-11-30 09:43:44 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2017-12-06 18:30:55 +0000 |
commit | 03026973700f1fcdff602dffa3d94b04912acd44 (patch) | |
tree | ab3c22ea63e11e01573605f9a879edeffb160930 /header.LGPL-ONLY | |
parent | 85d8975bc999d65d04db9027f66c030574a5caf0 (diff) |
QtGui: port away from QRegion::rects()
Use begin()/end()/rectCount() instead, which don't require QRegionPrivate
::vectorize() calls.
In QPaintEngineEx::clip(), the rectCount() == 1 case called clip(QRect), but
forgot to return, causing another clip(QVectorPath) call with the same
arguments. Fixed.
Change-Id: Ife33112fc8006ed4bdff6409e2b8465ce7acb9d1
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'header.LGPL-ONLY')
0 files changed, 0 insertions, 0 deletions