summaryrefslogtreecommitdiffstats
path: root/qdeclarativegesturerecognizers.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-09-23 15:42:26 +0200
committerThierry Bastian <thierry.bastian@nokia.com>2010-09-23 15:42:26 +0200
commit56a6cd1a70198eb57589fbfa280b425eeaec2286 (patch)
tree01e50ac6bfc9a81d30f8a9fe0ee1e84352bf6c61 /qdeclarativegesturerecognizers.cpp
parent6c763912acbb6632de5c3d927c7bd416def02a98 (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
Diffstat (limited to 'qdeclarativegesturerecognizers.cpp')
-rw-r--r--qdeclarativegesturerecognizers.cpp2
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;