summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-27 12:57:31 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-28 10:25:41 +0200
commit3bf839f3b97c986b877a0451fa3a94943ea19831 (patch)
tree03433c82d9e2cfdee84ecf84bb872464956f1f6c /tests
parenta2f9eaf552b58a258beb25d29691fff97276e198 (diff)
downloadqtquickcontrols-3bf839f3b97c986b877a0451fa3a94943ea19831.tar.gz
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I56268bc09fe861effc514acb4033bf8873873ab0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/testplugin/testcppmodels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/testplugin/testcppmodels.h b/tests/auto/testplugin/testcppmodels.h
index 03b598c4..44de1ca3 100644
--- a/tests/auto/testplugin/testcppmodels.h
+++ b/tests/auto/testplugin/testcppmodels.h
@@ -114,13 +114,13 @@ public:
virtual bool canFetchMore(const QModelIndex &parent) const
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
return true;
}
virtual void fetchMore(const QModelIndex & parent)
{
- Q_UNUSED(parent)
+ Q_UNUSED(parent);
addMoreData();
}