@@ -712,7 +712,7 @@ void tst_TouchRegistry::rejectingTouchfterItsEnd()
712 touchRegistry->removeCandidateOwnerForTouch(0, &earlyCandidate);
712 touchRegistry->removeCandidateOwnerForTouch(0, &earlyCandidate);
714 QCOMPARE(lateCandidate.ownedTouches.count(), 1);
714 QCOMPARE(lateCandidate.ownedTouches.count(), 1);
715− QCOMPARE(lateCandidate.ownedTouches.contains(0), 1);
715+ QVERIFY(lateCandidate.ownedTouches.contains(0));
717 // Check that there's no trace left of touch 0 as we no longer need to keep tabs on it.
717 // Check that there's no trace left of touch 0 as we no longer need to keep tabs on it.
718 QVERIFY(!touchRegistry->findTouchInfo(0));
718 QVERIFY(!touchRegistry->findTouchInfo(0));