on xenial help sign in
Compile with Qt 5.6

And actually emit the signal Fixes: #1565632 Approved by: Timo Jyrinki, Michael Zanetti

commit81c5d9443fb9a4fbc121843e17e38d357b5e9dbf authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 27 Apr 2016, 14:58 (10 years ago) parente804c198eae719
2 files changed+2−2
tests/libs/UbuntuGestures/tst_TouchRegistry.cpp+1−1 tests/mocks/Unity/InputInfo/qinputdeviceinfo_mock.cpp+1−1
tests/libs/UbuntuGestures/tst_TouchRegistry.cpp+1−1
@@ -712,7 +712,7 @@ void tst_TouchRegistry::rejectingTouchfterItsEnd()
712712 touchRegistry->removeCandidateOwnerForTouch(0, &earlyCandidate);
713713
714714 QCOMPARE(lateCandidate.ownedTouches.count(), 1);
715− QCOMPARE(lateCandidate.ownedTouches.contains(0), 1);
715+ QVERIFY(lateCandidate.ownedTouches.contains(0));
716716
717717 // Check that there's no trace left of touch 0 as we no longer need to keep tabs on it.
718718 QVERIFY(!touchRegistry->findTouchInfo(0));
tests/mocks/Unity/InputInfo/qinputdeviceinfo_mock.cpp+1−1
@@ -23,7 +23,7 @@ QInputDeviceManagerPrivate::QInputDeviceManagerPrivate(QObject *parent) :
2323 QObject(parent),
2424 currentFilter(QInputDevice::Unknown)
2525{
26− QTimer::singleShot(1, SIGNAL(ready()));
26+ QTimer::singleShot(1, this, SIGNAL(ready()));
2727}
2828
2929QInputDeviceManagerPrivate::~QInputDeviceManagerPrivate()