diff --git a/src/plugins/platforms/wayland/qwaylanddisplay.cpp b/src/plugins/platforms/wayland/qwaylanddisplay.cpp index 11af5f58950..e8c2ab8af30 100644 --- a/src/plugins/platforms/wayland/qwaylanddisplay.cpp +++ b/src/plugins/platforms/wayland/qwaylanddisplay.cpp @@ -439,7 +439,7 @@ uint32_t QWaylandDisplay::currentTimeMillisec() static void sync_callback(void *data, struct wl_callback *callback, uint32_t serial) { - Q_UNUSED(serial) + Q_UNUSED(serial); bool *done = static_cast(data); *done = true; diff --git a/src/plugins/platforms/wayland/qwaylandshellsurface.cpp b/src/plugins/platforms/wayland/qwaylandshellsurface.cpp index 91cc2c2c039..1dfdfd5e007 100644 --- a/src/plugins/platforms/wayland/qwaylandshellsurface.cpp +++ b/src/plugins/platforms/wayland/qwaylandshellsurface.cpp @@ -57,8 +57,8 @@ void QWaylandShellSurface::setWindowFlags(Qt::WindowFlags flags) void QWaylandShellSurface::sendProperty(const QString &name, const QVariant &value) { - Q_UNUSED(name) - Q_UNUSED(value) + Q_UNUSED(name); + Q_UNUSED(value); } } diff --git a/src/plugins/platforms/wayland/qwaylandshellsurface_p.h b/src/plugins/platforms/wayland/qwaylandshellsurface_p.h index 989cdb81b1c..080d13851bc 100644 --- a/src/plugins/platforms/wayland/qwaylandshellsurface_p.h +++ b/src/plugins/platforms/wayland/qwaylandshellsurface_p.h @@ -86,7 +86,7 @@ public: virtual void raise() {} virtual void lower() {} - virtual void setContentOrientationMask(Qt::ScreenOrientations orientation) { Q_UNUSED(orientation) } + virtual void setContentOrientationMask(Qt::ScreenOrientations orientation) { Q_UNUSED(orientation); } virtual void sendProperty(const QString &name, const QVariant &value); diff --git a/tests/auto/wayland/shared_old/mockfullscreenshellv1.cpp b/tests/auto/wayland/shared_old/mockfullscreenshellv1.cpp index 22c49cde60b..7463d23f672 100644 --- a/tests/auto/wayland/shared_old/mockfullscreenshellv1.cpp +++ b/tests/auto/wayland/shared_old/mockfullscreenshellv1.cpp @@ -33,9 +33,9 @@ namespace Impl { void FullScreenShellV1::zwp_fullscreen_shell_v1_present_surface(Resource *resource, struct ::wl_resource *surface, uint32_t method, struct ::wl_resource *output) { - Q_UNUSED(resource) - Q_UNUSED(method) - Q_UNUSED(output) + Q_UNUSED(resource); + Q_UNUSED(method); + Q_UNUSED(output); m_surfaces.append(Surface::fromResource(surface)); } diff --git a/tests/auto/wayland/tabletv2/tst_tabletv2.cpp b/tests/auto/wayland/tabletv2/tst_tabletv2.cpp index 2cbafa35f7f..f52db64f497 100644 --- a/tests/auto/wayland/tabletv2/tst_tabletv2.cpp +++ b/tests/auto/wayland/tabletv2/tst_tabletv2.cpp @@ -289,7 +289,7 @@ void TabletV2::sendRemoved() void TabletV2::zwp_tablet_v2_destroy(QtWaylandServer::zwp_tablet_v2::Resource *resource) { - Q_UNUSED(resource) + Q_UNUSED(resource); if (m_tabletSeat) { bool removed = m_tabletSeat->m_tabletsWaitingForDestroy.removeOne(this); QVERIFY(removed);