QmlDesigner: Don't call getter again

Change-Id: Icfa2b19061f88b45c8b90c50bd802bc6d12bf68c
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2025-04-28 15:01:56 +02:00
parent b7e28ce508
commit bd9213f231

View File

@@ -137,7 +137,7 @@ AbstractProperty BindingProperty::resolveToProperty() const
QStringView lastElement{lastElementBegin, binding.end()};
if (binding.begin() != lastElementBegin) {
QStringView nodeBinding{binding.begin(), std::prev(lastElementBegin)};
node = resolveBinding(nodeBinding, parentModelNode());
node = resolveBinding(nodeBinding, node);
}
if (node.isValid() && !lastElement.contains(' '))