Commit a83aac51 authored by Thomas Hartmann's avatar Thomas Hartmann

fix gcc warning

Change-Id: I7bd2b2d8256efb5782c2c87920cd2ab9da60a227
Reviewed-on: http://codereview.qt-project.org/5235Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@nokia.com>
Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
parent 483dfb08
......@@ -206,8 +206,8 @@ static inline void getProperties(const ModelNode node, QHash<QString, QVariant>
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));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment