Change-Id: I7bd2b2d8256efb5782c2c87920cd2ab9da60a227
Reviewed-on: http://codereview.qt-project.org/5235
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
if (QmlObjectNode(node).isValid()) {
foreach (const QString &propertyName, node.propertyNames()) {
if (node.property(propertyName).isVariantProperty() ||
- node.property(propertyName).isBindingProperty() &&
- !propertyName.contains(QLatin1String("anchors."))) {
+ (node.property(propertyName).isBindingProperty() &&
+ !propertyName.contains(QLatin1String("anchors.")))) {
propertyHash.insert(propertyName, QmlObjectNode(node).instanceValue(propertyName));
}
}