diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-27 13:03:01 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-30 10:44:12 +0200 |
commit | e0909423ce292d1aac7b263d3d3296efd8c3640c (patch) | |
tree | 1002205ac94bc78b791129b1af6a58e711080c9f /tests/auto | |
parent | 78af506ef90a8c458f6cc89acb2deef8a680ddca (diff) | |
download | qtwayland-e0909423ce292d1aac7b263d3d3296efd8c3640c.tar.gz |
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: Ia626b9fbc2e4215cb9232ef9bcb71742d62dff4e
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/client/shared_old/mockfullscreenshellv1.cpp | 6 | ||||
-rw-r--r-- | tests/auto/client/tabletv2/tst_tabletv2.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/client/shared_old/mockfullscreenshellv1.cpp b/tests/auto/client/shared_old/mockfullscreenshellv1.cpp index 22c49cde..7463d23f 100644 --- a/tests/auto/client/shared_old/mockfullscreenshellv1.cpp +++ b/tests/auto/client/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/client/tabletv2/tst_tabletv2.cpp b/tests/auto/client/tabletv2/tst_tabletv2.cpp index 2cbafa35..f52db64f 100644 --- a/tests/auto/client/tabletv2/tst_tabletv2.cpp +++ b/tests/auto/client/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); |