summaryrefslogtreecommitdiffstats
path: root/tests/auto/gestures
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-22 17:39:50 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2010-02-24 11:35:48 (GMT)
commit97b7a880cf97c166600df097ee178b8dec8cf3ce (patch)
tree9d1412692ed63e0306ffda58d5d209c6c48ff84b /tests/auto/gestures
parentb35d2d4717f71b4e519d33160dfce8b23607f9c8 (diff)
downloadQt-97b7a880cf97c166600df097ee178b8dec8cf3ce.zip
Qt-97b7a880cf97c166600df097ee178b8dec8cf3ce.tar.gz
Qt-97b7a880cf97c166600df097ee178b8dec8cf3ce.tar.bz2
Fixed a gesture autotest.
Reviewed-by: trustme
Diffstat (limited to 'tests/auto/gestures')
-rw-r--r--tests/auto/gestures/tst_gestures.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gestures/tst_gestures.cpp b/tests/auto/gestures/tst_gestures.cpp
index 24391c0..1765a30 100644
--- a/tests/auto/gestures/tst_gestures.cpp
+++ b/tests/auto/gestures/tst_gestures.cpp
@@ -1549,7 +1549,7 @@ void tst_Gestures::graphicsViewParentPropagation()
QCOMPARE(item1_c1_c1->gestureEventsReceived, TotalGestureEventsCount);
QCOMPARE(item1_c1_c1->gestureOverrideEventsReceived, 1);
- QCOMPARE(item1_c1->gestureEventsReceived, 0);
+ QCOMPARE(item1_c1->gestureEventsReceived, TotalGestureEventsCount-1);
QCOMPARE(item1_c1->gestureOverrideEventsReceived, 1);
QCOMPARE(item1->gestureEventsReceived, TotalGestureEventsCount-1);
QCOMPARE(item1->gestureOverrideEventsReceived, 1);