diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp index 894957ed049..3606f626a54 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp @@ -809,9 +809,6 @@ NodeMetaInfo PropertyEditorQmlBackend::findCommonAncestor(const ModelNode &node) if (!node.isValid()) return node.metaInfo(); - if (auto metaInfo = node.metaInfo()) - return metaInfo; - AbstractView *view = node.view(); if (view->selectedModelNodes().count() > 1) {