Commit 4af69643 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Vlad Zahorodnii
Browse files

wayland/autotests: Make sure we delete the seat

The parent is the second argument, it therefore was nullptr and it broke
the assumption from few lines below that it's owned by the display.
parent bbb4c20c
......@@ -161,7 +161,7 @@ void TestWaylandSeat::init()
registry.setup();
QVERIFY(compositorSpy.wait());
m_seatInterface = new SeatInterface(m_display);
m_seatInterface = new SeatInterface(m_display, m_display);
QVERIFY(m_seatInterface);
m_seatInterface->setName(QStringLiteral("seat0"));
QVERIFY(seatSpy.wait());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment