tests: fix GestureTest

This commit is contained in:
Xaver Hugl 2021-08-31 01:53:25 +02:00
parent 5b87c24568
commit 93ec5d8ea9

View file

@ -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);