aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2011-06-17 17:11:13 +1000
committerAaron Kennedy <aaron.kennedy@nokia.com>2011-06-17 17:11:13 +1000
commit30dce0e5810cd312f9c483e13c3fc852f43b551d (patch)
treeb78c9106eb2c30c43d7368a7b3a969349e03cd63 /src
parent8da9d3fe15ff1f587fbe2a180036317335c705a7 (diff)
Compare QDeclarativeProperty's in a flag agnostic way
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qdeclarativeproperty.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativeproperty.cpp b/src/declarative/qml/qdeclarativeproperty.cpp
index 213403d006..71bc748be9 100644
--- a/src/declarative/qml/qdeclarativeproperty.cpp
+++ b/src/declarative/qml/qdeclarativeproperty.cpp
@@ -420,8 +420,9 @@ bool QDeclarativeProperty::operator==(const QDeclarativeProperty &other) const
// category is intentially omitted here as it is generated
// from the other members
return d->object == other.d->object &&
- d->core == other.d->core &&
- d->valueType == other.d->valueType;
+ d->core.coreIndex == other.d->core.coreIndex &&
+ d->valueType.valueTypeCoreIdx == other.d->valueType.valueTypeCoreIdx &&
+ d->valueType.valueTypePropType == other.d->valueType.valueTypePropType;
}
/*!