aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 12:57:47 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-30 10:25:27 +0200
commitd9f60a2560143008336439ebc8a9399cd5bda7b4 (patch)
tree918bfc2dbba865088c7a4ec8127082635a2cef38 /tests/auto
parentd49bb8884d6d1a26fa4beb9ca2d4869db48368a5 (diff)
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I92ef02ede041d3965151165a479a1ea0549cc0f9 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/accessibility/tst_accessibility.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/accessibility/tst_accessibility.cpp b/tests/auto/accessibility/tst_accessibility.cpp
index 220facb3..3d9a318d 100644
--- a/tests/auto/accessibility/tst_accessibility.cpp
+++ b/tests/auto/accessibility/tst_accessibility.cpp
@@ -177,8 +177,8 @@ void tst_accessibility::a11y()
QCOMPARE(attached->role(), role);
QCOMPARE(attached->name(), text);
#else
- Q_UNUSED(role)
- Q_UNUSED(text)
+ Q_UNUSED(role);
+ Q_UNUSED(text);
#endif
}
@@ -264,8 +264,8 @@ void tst_accessibility::override()
QCOMPARE(attached->role(), role);
QCOMPARE(attached->name(), name + "Override");
#else
- Q_UNUSED(role)
- Q_UNUSED(text)
+ Q_UNUSED(role);
+ Q_UNUSED(text);
#endif
}