diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2016-07-26 20:56:56 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2016-07-26 19:55:57 +0000 |
commit | ba201c73edb4ff452bfb13fa5afd6af6a02c4af0 (patch) | |
tree | 7ae6995f153172136dc83ba7e3f07cf1a37e75da /src/quick/items/qquickevents_p_p.h | |
parent | b3324d6285204661d16fd39483758b4076104d83 (diff) |
Touch handling: remove acceptedNewPoints
We keep track of the state inside the individual points, simplify the
code.
Change-Id: I6716f3ad9bc21ab066888a3b373719c5e4f30af2
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Diffstat (limited to 'src/quick/items/qquickevents_p_p.h')
-rw-r--r-- | src/quick/items/qquickevents_p_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickevents_p_p.h b/src/quick/items/qquickevents_p_p.h index 82f58efb7a..2375ae797b 100644 --- a/src/quick/items/qquickevents_p_p.h +++ b/src/quick/items/qquickevents_p_p.h @@ -423,7 +423,7 @@ public: void clearGrabbers() const override; QMouseEvent *syntheticMouseEvent(int pointID, QQuickItem *relativeTo) const; - QTouchEvent *touchEventForItem(const QList<const QQuickEventPoint *> &newPoints, QQuickItem *relativeTo) const; + QTouchEvent *touchEventForItem(QQuickItem *item) const; QTouchEvent *asTouchEvent() const; |