diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp index 7ba3269fee0..7da39cf6379 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp @@ -445,8 +445,6 @@ QString PropertyEditorQmlBackend::fixTypeNameForPanes(const QString &typeName) QString PropertyEditorQmlBackend::qmlFileName(const NodeMetaInfo &nodeInfo) { - if (nodeInfo.typeName().split('.').last() == "QDeclarativeItem") - return "QtQuick/ItemPane.qml"; const QString fixedTypeName = fixTypeNameForPanes(nodeInfo.typeName()); return fixedTypeName + QStringLiteral("Pane.qml"); }