summaryrefslogtreecommitdiffstats
path: root/tests/manual/rendercapture-qml
diff options
context:
space:
mode:
authorLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-23 16:10:52 +0200
committerLars Schmertmann <Lars.Schmertmann@governikus.de>2020-06-24 19:42:03 +0200
commiteb087fa80fce3b765dbba900144b7f52311d2ff4 (patch)
tree99dd336db962496f751282acc0accd70ae37a183 /tests/manual/rendercapture-qml
parent46f663c2e923b0b35f08fbf619c78427e8bf82ae (diff)
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6. Task-number: QTBUG-82978 Change-Id: I2e126d0be8efa0aa89c4a91a681b549f38c8cec4 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/manual/rendercapture-qml')
-rw-r--r--tests/manual/rendercapture-qml/rendercaptureprovider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/rendercapture-qml/rendercaptureprovider.h b/tests/manual/rendercapture-qml/rendercaptureprovider.h
index d04dbd276..82095e1f6 100644
--- a/tests/manual/rendercapture-qml/rendercaptureprovider.h
+++ b/tests/manual/rendercapture-qml/rendercaptureprovider.h
@@ -72,8 +72,8 @@ public:
virtual QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize)
{
- Q_UNUSED(id)
- Q_UNUSED(requestedSize)
+ Q_UNUSED(id);
+ Q_UNUSED(requestedSize);
*size = m_image.size();
return m_image;
}