tests: fix GestureTest
This commit is contained in:
parent
5b87c24568
commit
93ec5d8ea9
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,7 @@ void GestureTest::testSwipeDiagonalCancels()
|
||||||
recognizer.registerGesture(&gesture);
|
recognizer.registerGesture(&gesture);
|
||||||
|
|
||||||
recognizer.startSwipeGesture(1);
|
recognizer.startSwipeGesture(1);
|
||||||
recognizer.updateSwipeGesture(QSizeF(1, 1));
|
recognizer.updateSwipeGesture(QSizeF(2, 2));
|
||||||
QCOMPARE(cancelledSpy.count(), 1);
|
QCOMPARE(cancelledSpy.count(), 1);
|
||||||
QCOMPARE(triggeredSpy.count(), 0);
|
QCOMPARE(triggeredSpy.count(), 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue