From 5a4ffa0de0ecc666a514ef60f0149a76d25b040d Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 25 Nov 2019 14:49:07 +0100 Subject: QQmlListProperty: Add replace and removeLast functions This allows us to implement QmlListWrapper::virtualPut(). Also, the additional functions make the list properties useful in other contexts. Fixes: QTBUG-79263 Change-Id: I528bc69222ca7743f0fc3697c3aed2a3468b4d87 Reviewed-by: Paul Wicking Reviewed-by: Shawn Rutledge Reviewed-by: Fabian Kosmale --- src/quick/items/qquickmultipointtoucharea_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quick/items/qquickmultipointtoucharea_p.h') diff --git a/src/quick/items/qquickmultipointtoucharea_p.h b/src/quick/items/qquickmultipointtoucharea_p.h index 42b42a45c5..363e62593b 100644 --- a/src/quick/items/qquickmultipointtoucharea_p.h +++ b/src/quick/items/qquickmultipointtoucharea_p.h @@ -198,7 +198,7 @@ public: bool wantsGrab() const { return _grab; } QQmlListProperty touchPoints() { - return QQmlListProperty(this, _touchPoints); + return QQmlListProperty(this, &_touchPoints); } qreal dragThreshold() const { return _dragThreshold; } -- cgit v1.2.3