summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-12-10 13:57:36 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-12-10 17:20:55 +0000
commit16e3e44ce7b20f07d8a5e56f2937340cfcacd5a9 (patch)
tree98ae3a12f42a7531d1cd17450b998c7978062ba4 /share
parentef135cc549c4b6b5a1fba9b6119487172620bd07 (diff)
downloadqt-creator-16e3e44ce7b20f07d8a5e56f2937340cfcacd5a9.tar.gz
QmlDesigner: Fix more warnings about unused parameters and functions
Change-Id: I8b569fcf60a0a21c6828d612997bbba0f737c806 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'share')
-rw-r--r--share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quick3dnodeinstance.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quick3dnodeinstance.cpp b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quick3dnodeinstance.cpp
index 4c725749e2..2d162503e9 100644
--- a/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quick3dnodeinstance.cpp
+++ b/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/quick3dnodeinstance.cpp
@@ -133,6 +133,10 @@ void Quick3DNodeInstance::setPickable(bool enable, bool checkParent, bool applyT
setPropertyVariant("pickable", enable); // allow 3D objects to receive mouse clicks
}
}
+#else
+ Q_UNUSED(enable)
+ Q_UNUSED(checkParent)
+ Q_UNUSED(applyToChildInstances)
#endif
}