Pass parent to Client::Keyboard in TestWaylandSeat
This ensures that the Keyboard doesn't leak in the test.
This commit is contained in:
parent
acb08e276d
commit
ba9270a887
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue