diff --git a/src/wayland/autotests/client/test_wayland_seat.cpp b/src/wayland/autotests/client/test_wayland_seat.cpp index 28ac9dbb3e..c660ff273d 100644 --- a/src/wayland/autotests/client/test_wayland_seat.cpp +++ b/src/wayland/autotests/client/test_wayland_seat.cpp @@ -408,7 +408,7 @@ void TestWaylandSeat::testKeyboard() // no pointer yet - won't be set QVERIFY(!serverKeyboard->focusedSurface()); - Keyboard *keyboard = m_seat->createKeyboard(); + Keyboard *keyboard = m_seat->createKeyboard(m_seat); QVERIFY(keyboard->isValid()); wl_display_flush(m_connection->display()); QTest::qWait(100);