QmlDesigner: Latest effects do not require a custom parser

This also fixes the double rendering issue.

Change-Id: I8562fb0c4f3c0a57373e117f7a3deb44c71a37de
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2024-04-18 16:32:07 +02:00
parent cf05fa6846
commit f84070f634

View File

@@ -2456,11 +2456,8 @@ bool NodeMetaInfo::usesCustomParser() const
return false; return false;
auto type = simplifiedTypeName(); auto type = simplifiedTypeName();
return type == "VisualItemModel" return type == "VisualItemModel" || type == "VisualDataModel" || type == "ListModel"
|| type == "VisualDataModel" || type == "XmlListModel";
|| type == "ListModel"
|| type == "XmlListModel"
|| type == "DesignEffect";
} }
} }