diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-27 12:57:31 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-28 10:25:41 +0200 |
commit | 3bf839f3b97c986b877a0451fa3a94943ea19831 (patch) | |
tree | 03433c82d9e2cfdee84ecf84bb872464956f1f6c /tests | |
parent | a2f9eaf552b58a258beb25d29691fff97276e198 (diff) | |
download | qtquickcontrols-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.h | 4 |
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(); } |