diff --git a/src/wayland/autotests/server/test_inputmethod_interface.cpp b/src/wayland/autotests/server/test_inputmethod_interface.cpp index 6b3bb87781..b0416827c0 100644 --- a/src/wayland/autotests/server/test_inputmethod_interface.cpp +++ b/src/wayland/autotests/server/test_inputmethod_interface.cpp @@ -209,10 +209,6 @@ void TestInputMethodInterface::testAdd() QSignalSpy panelTopLevelSpy(panelSurfaceIface, &InputPanelSurfaceV1Interface::topLevel); panelSurface->set_toplevel(*m_output, InputPanelSurface::position_center_bottom); QVERIFY(panelTopLevelSpy.wait()); - - QSignalSpy panelDeleteSpy(panelSurfaceIface, &QObject::destroyed); - delete surface; - QVERIFY(panelDeleteSpy.wait()); }