forked from qt-creator/qt-creator
QmlDesigner: Don't call getter again
Change-Id: Icfa2b19061f88b45c8b90c50bd802bc6d12bf68c Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -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(' '))
|
||||
|
Reference in New Issue
Block a user