QmlDesigner: Use simplifiedTypeName to strip "QML" prefix

Task-number: QDS-9608
Change-Id: I4fb59e603a0ab31727ee60a8af5b2c3ab4dfdf9b
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2023-04-03 11:30:12 +02:00
parent 60646fa6ac
commit 42d84e012c

View File

@@ -187,7 +187,7 @@ void BindingEditor::prepareBindings()
for (const auto &objnode : allNodes) {
BindingEditorDialog::BindingOption binding;
for (const auto &property : objnode.metaInfo().properties()) {
const TypeName &propertyTypeName = property.propertyType().typeName();
const TypeName &propertyTypeName = property.propertyType().simplifiedTypeName();
if (skipTypeFiltering
|| (m_backendValueTypeName == propertyTypeName)