diff --git a/autotests/test_gestures.cpp b/autotests/test_gestures.cpp index c499c1d6b7..2d0553e6ef 100644 --- a/autotests/test_gestures.cpp +++ b/autotests/test_gestures.cpp @@ -590,7 +590,7 @@ void GestureTest::testSwipeDiagonalCancels() recognizer.registerGesture(&gesture); recognizer.startSwipeGesture(1); - recognizer.updateSwipeGesture(QSizeF(1, 1)); + recognizer.updateSwipeGesture(QSizeF(2, 2)); QCOMPARE(cancelledSpy.count(), 1); QCOMPARE(triggeredSpy.count(), 0);