Compile with Qt 5.6
And actually emit the signal
commit14079aaeee7d59767403dbecf73214c356872fb5
authorAlbert Astals Cid <albert.astals@canonical.com>
dateMon 4 Apr 2016, 09:49 (11 years ago)
parent8e46b45
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()