diff --git a/src/plugins/qmldesigner/components/materialeditor/materialeditorqmlbackend.cpp b/src/plugins/qmldesigner/components/materialeditor/materialeditorqmlbackend.cpp index 7c5d8436226..79e0e80fc51 100644 --- a/src/plugins/qmldesigner/components/materialeditor/materialeditorqmlbackend.cpp +++ b/src/plugins/qmldesigner/components/materialeditor/materialeditorqmlbackend.cpp @@ -125,18 +125,6 @@ PropertyName MaterialEditorQmlBackend::auxNamePostFix(const PropertyName &proper return propertyName + "__AUX"; } -QVariant MaterialEditorQmlBackend::properDefaultAuxiliaryProperties(const QmlObjectNode &qmlObjectNode, - const PropertyName &propertyName) -{ - const ModelNode node = qmlObjectNode.modelNode(); - const PropertyName auxName = propertyName; - - if (node.hasAuxiliaryData(auxName)) - return node.auxiliaryData(auxName); - - return {}; -} - void MaterialEditorQmlBackend::createPropertyEditorValue(const QmlObjectNode &qmlObjectNode, const PropertyName &name, const QVariant &value, diff --git a/src/plugins/qmldesigner/components/materialeditor/materialeditorqmlbackend.h b/src/plugins/qmldesigner/components/materialeditor/materialeditorqmlbackend.h index 3cfdbc9bd88..503f4a2667c 100644 --- a/src/plugins/qmldesigner/components/materialeditor/materialeditorqmlbackend.h +++ b/src/plugins/qmldesigner/components/materialeditor/materialeditorqmlbackend.h @@ -79,7 +79,6 @@ private: const PropertyName &name, const QVariant &value, MaterialEditorView *materialEditor); PropertyName auxNamePostFix(const PropertyName &propertyName); - QVariant properDefaultAuxiliaryProperties(const QmlObjectNode &qmlObjectNode, const PropertyName &propertyName); QQuickWidget *m_view = nullptr; Internal::QmlAnchorBindingProxy m_backendAnchorBinding;