diff options
Diffstat (limited to 'src/plugins/platforms/xcb/nativepainting/qxcbnativepainting.cpp')
-rw-r--r-- | src/plugins/platforms/xcb/nativepainting/qxcbnativepainting.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/nativepainting/qxcbnativepainting.cpp b/src/plugins/platforms/xcb/nativepainting/qxcbnativepainting.cpp index 7731f6c806..5ff45ec183 100644 --- a/src/plugins/platforms/xcb/nativepainting/qxcbnativepainting.cpp +++ b/src/plugins/platforms/xcb/nativepainting/qxcbnativepainting.cpp @@ -105,7 +105,7 @@ void qt_xcb_native_x11_info_init(QXcbConnection *conn) QVector<XRectangle> qt_region_to_xrectangles(const QRegion &r) { const int numRects = r.rectCount(); - const QVector<QRect> input = r.rects(); + const auto input = r.begin(); QVector<XRectangle> output(numRects); for (int i = 0; i < numRects; ++i) { const QRect &in = input[i]; |