diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-26 14:43:02 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-26 19:18:03 +0200 |
commit | e79281533d61dda90d1c5995345a66e6089c7501 (patch) | |
tree | 5033642cb0ae1d76aa0fc0525e153c04eefc921d /src/plugins/scenegraph/openvg/qsgopenvgcontext.cpp | |
parent | 6d8aca544ccb1e2624a679e2d65622461f643291 (diff) |
Add ; to Q_UNUSED and UNUSED_PARAM
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: Iead53d18fd790fb2d870d80ef2db79666f0d2392
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/scenegraph/openvg/qsgopenvgcontext.cpp')
-rw-r--r-- | src/plugins/scenegraph/openvg/qsgopenvgcontext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/scenegraph/openvg/qsgopenvgcontext.cpp b/src/plugins/scenegraph/openvg/qsgopenvgcontext.cpp index 0d38cd2ab1..a47a4258b0 100644 --- a/src/plugins/scenegraph/openvg/qsgopenvgcontext.cpp +++ b/src/plugins/scenegraph/openvg/qsgopenvgcontext.cpp @@ -113,7 +113,7 @@ QSGRenderer *QSGOpenVGRenderContext::createRenderer(QSGRendererInterface::Render QSGOpenVGContext::QSGOpenVGContext(QObject *parent) { - Q_UNUSED(parent) + Q_UNUSED(parent); } QSGRenderContext *QSGOpenVGContext::createRenderContext() @@ -133,13 +133,13 @@ QSGImageNode *QSGOpenVGContext::createImageNode() QSGPainterNode *QSGOpenVGContext::createPainterNode(QQuickPaintedItem *item) { - Q_UNUSED(item) + Q_UNUSED(item); return new QSGOpenVGPainterNode(item); } QSGGlyphNode *QSGOpenVGContext::createGlyphNode(QSGRenderContext *rc, bool preferNativeGlyphNode) { - Q_UNUSED(preferNativeGlyphNode) + Q_UNUSED(preferNativeGlyphNode); return new QSGOpenVGGlyphNode(rc); } |