diff --git a/tests/auto/wayland/shared/mockxdgshellv6.cpp b/tests/auto/wayland/shared/mockxdgshellv6.cpp index 014a24be7c2..5dc8da599a7 100644 --- a/tests/auto/wayland/shared/mockxdgshellv6.cpp +++ b/tests/auto/wayland/shared/mockxdgshellv6.cpp @@ -59,6 +59,7 @@ void XdgSurfaceV6::zxdg_surface_v6_get_toplevel(QtWaylandServer::zxdg_surface_v6 void XdgSurfaceV6::zxdg_surface_v6_set_window_geometry(QtWaylandServer::zxdg_surface_v6::Resource *resource, int32_t x, int32_t y, int32_t width, int32_t height) { + Q_UNUSED(resource); if (m_toplevel) { QRect geometry(x, y, width, height); emit m_toplevel->mockToplevel()->windowGeometryRequested(geometry);