diff options
Diffstat (limited to 'src/location/declarativemaps/qquickgeomapgesturearea.cpp')
-rw-r--r-- | src/location/declarativemaps/qquickgeomapgesturearea.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/location/declarativemaps/qquickgeomapgesturearea.cpp b/src/location/declarativemaps/qquickgeomapgesturearea.cpp index 4e4b5609..a6db0960 100644 --- a/src/location/declarativemaps/qquickgeomapgesturearea.cpp +++ b/src/location/declarativemaps/qquickgeomapgesturearea.cpp @@ -943,14 +943,14 @@ void QQuickGeoMapGestureArea::handleTouchEvent(QPointerEvent *event) // They just dissapear. Child MouseArea will 'eat up' second touch point if first point // is grabbed by child ListView, for example. Maybe it's a bug in 6.2 RC? if (point.state() == QEventPoint::Released || !canBeGrabbed){ - for (int i = 0; i < m_touchPoints.count(); ++i) { + for (qsizetype i = 0; i < m_touchPoints.count(); ++i) { if (m_touchPoints.at(i).id() == point.id()){ m_touchPoints.removeAt(i); } } }else{ bool replaced = false; - for (int i = 0; i < m_touchPoints.count(); ++i) { + for (qsizetype i = 0; i < m_touchPoints.count(); ++i) { if (m_touchPoints.at(i).id() == point.id()){ m_touchPoints.replace(i, point); replaced = true; |