diff --git a/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp b/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp index f3fb6f5cfda..67ec00e1212 100644 --- a/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp +++ b/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp @@ -329,10 +329,11 @@ bool isComponentType(const QmlDesigner::TypeName &type) bool isCustomParserType(const QmlDesigner::TypeName &type) { - return type == "QtQuick.VisualItemModel" || type == "Qt.VisualItemModel" || - type == "QtQuick.VisualDataModel" || type == "Qt.VisualDataModel" || - type == "QtQuick.ListModel" || type == "Qt.ListModel" || - type == "QtQuick.XmlListModel" || type == "Qt.XmlListModel"; + return type == "QtQuick.VisualItemModel" || type == "Qt.VisualItemModel" + || type == "QtQuick.VisualDataModel" || type == "Qt.VisualDataModel" + || type == "QtQuick.ListModel" || type == "Qt.ListModel" + || type == "QtQml.Models.ListModel" || type == "QtQuick.XmlListModel" + || type == "Qt.XmlListModel"; }