diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-09-23 15:42:26 +0200 |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-09-23 15:42:26 +0200 |
commit | 56a6cd1a70198eb57589fbfa280b425eeaec2286 (patch) | |
tree | 01e50ac6bfc9a81d30f8a9fe0ee1e84352bf6c61 | |
parent | 6c763912acbb6632de5c3d927c7bd416def02a98 (diff) |
Make sure we don't consume events from the tap gesture recognizer
That allows for the other graphics item to still get mouse press
events
Reviewed-By: Denis
-rw-r--r-- | qdeclarativegesturerecognizers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qdeclarativegesturerecognizers.cpp b/qdeclarativegesturerecognizers.cpp index d8486a0..9651582 100644 --- a/qdeclarativegesturerecognizers.cpp +++ b/qdeclarativegesturerecognizers.cpp @@ -766,7 +766,7 @@ QGestureRecognizer::Result QTapGestureRecognizer::recognize(QGesture *state, state->setProperty("position", ev->globalPos()); state->setHotSpot(ev->globalPos()); event->accept(); - return QGestureRecognizer::TriggerGesture | QGestureRecognizer::ConsumeEventHint; + return QGestureRecognizer::TriggerGesture; } } return QGestureRecognizer::Ignore; |