QmlDesigner: Fix some warnings

Change-Id: Ice9c29409b53457c20cef272b6a5dd6feb97adb3
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Christian Kandeler
2019-10-29 11:07:28 +01:00
parent 1861991cec
commit d3e6fa0f2e
2 changed files with 10 additions and 5 deletions

View File

@@ -96,6 +96,8 @@ void Quick3DNodeInstance::setHideInEditor(bool b)
QQuick3DNodePrivate *privateNode = QQuick3DNodePrivate::get(quick3DNode());
if (privateNode)
privateNode->setIsHiddenInEditor(b);
#else
Q_UNUSED(b);
#endif
}