diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-02-21 04:57:08 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-02-21 06:08:41 (GMT) |
commit | 1bcddaaf318fc37c71c5191913f3487c49444ec6 (patch) | |
tree | 82984444b9874bdaf21c1b5f7a62dc593a98ebef /src/declarative/graphicsitems/qdeclarativeflickable_p_p.h | |
parent | 8e9c28eaa4d7a3372b9a9a21a984701b62f96456 (diff) | |
download | Qt-1bcddaaf318fc37c71c5191913f3487c49444ec6.zip Qt-1bcddaaf318fc37c71c5191913f3487c49444ec6.tar.gz Qt-1bcddaaf318fc37c71c5191913f3487c49444ec6.tar.bz2 |
Prevent recursion due to nested Flickables with pressDelay
The outermost Flickable handles pressDelay for all descendents, rather
than having it cascade up and replayed multiple times.
Change-Id: Id294862469f3ce56b0940fbbb0e041d4c9f64f28
Task-number: QTBUG-17361
Reviewed-by: Michael Brasser
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeflickable_p_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeflickable_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeflickable_p_p.h b/src/declarative/graphicsitems/qdeclarativeflickable_p_p.h index 5ad6ff6..1b6081c 100644 --- a/src/declarative/graphicsitems/qdeclarativeflickable_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativeflickable_p_p.h @@ -118,6 +118,7 @@ public: void updateBeginningEnd(); + bool isOutermostPressDelay() const; void captureDelayedPress(QGraphicsSceneMouseEvent *event); void clearDelayedPress(); |