[autotests/client] Set event queue on registry
Summary: Otherwise events are dispatched from the wrong thread. Test Plan: Let's see if Jenkins to see if it hits that race condition again Reviewers: #kwin Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D28263
This commit is contained in:
parent
dcf03ad241
commit
3c6e4ac0d1
1 changed files with 1 additions and 0 deletions
|
@ -510,6 +510,7 @@ void TestWaylandSurface::testMultipleSurfaces()
|
|||
using namespace KWayland::Client;
|
||||
using namespace KWayland::Server;
|
||||
Registry registry;
|
||||
registry.setEventQueue(m_queue);
|
||||
QSignalSpy shmSpy(®istry, SIGNAL(shmAnnounced(quint32,quint32)));
|
||||
registry.create(m_connection->display());
|
||||
QVERIFY(registry.isValid());
|
||||
|
|
Loading…
Reference in a new issue