on xenial help sign in
Compile with Qt 5.6
81c5d94Albert Astals Cid
tests/libs/UbuntuGestures/tst_TouchRegistry.cpp+1−1
@@ -712,7 +712,7 @@ void tst_TouchRegistry::rejectingTouchfterItsEnd()
712 touchRegistry->removeCandidateOwnerForTouch(0, &earlyCandidate);
712 touchRegistry->removeCandidateOwnerForTouch(0, &earlyCandidate);
713
713
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));
716
716
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));
tests/mocks/Unity/InputInfo/qinputdeviceinfo_mock.cpp+1−1
@@ -23,7 +23,7 @@ QInputDeviceManagerPrivate::QInputDeviceManagerPrivate(QObject *parent) :
23 QObject(parent),
23 QObject(parent),
24 currentFilter(QInputDevice::Unknown)
24 currentFilter(QInputDevice::Unknown)
25{
25{
26− QTimer::singleShot(1, SIGNAL(ready()));
26+ QTimer::singleShot(1, this, SIGNAL(ready()));
27}
27}
28
28
29QInputDeviceManagerPrivate::~QInputDeviceManagerPrivate()
29QInputDeviceManagerPrivate::~QInputDeviceManagerPrivate()