summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/kernel/qgesturemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qgesturemanager.cpp b/src/gui/kernel/qgesturemanager.cpp
index c244a0b..2d0137e 100644
--- a/src/gui/kernel/qgesturemanager.cpp
+++ b/src/gui/kernel/qgesturemanager.cpp
@@ -137,7 +137,7 @@ bool QGestureManager::filterEvent(QEvent *event)
}
activeGestures -= newMaybeGestures;
activeGestures += startedGestures;
- foreach(QGestureRecognizer *r, startedGestures+notGestures) {
+ foreach(QGestureRecognizer *r, startedGestures+finishedGestures+notGestures) {
QMap<QGestureRecognizer*, int>::iterator it = maybeGestures.find(r);
if (it != maybeGestures.end()) {
killTimer(it.value());