summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-02-05 05:58:19 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-02-05 06:02:16 (GMT)
commitc5cd42cde88bc4fd630a6044a9d44d29dc3df595 (patch)
treed297b43bbd93a636182325ab87a773d739861674 /src/declarative/qml
parent93ac24c12b2272cee75d37b4950baed6615ef1fb (diff)
downloadQt-c5cd42cde88bc4fd630a6044a9d44d29dc3df595.zip
Qt-c5cd42cde88bc4fd630a6044a9d44d29dc3df595.tar.gz
Qt-c5cd42cde88bc4fd630a6044a9d44d29dc3df595.tar.bz2
Fix Behaviors for object-type properties.
Task-number: QT-2269
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qmlvmemetaobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlvmemetaobject.cpp b/src/declarative/qml/qmlvmemetaobject.cpp
index 0886f1a..8faa922 100644
--- a/src/declarative/qml/qmlvmemetaobject.cpp
+++ b/src/declarative/qml/qmlvmemetaobject.cpp
@@ -110,7 +110,7 @@ int QmlVMEMetaObject::metaCall(QMetaObject::Call c, int _id, void **a)
QPair<int, QmlPropertyValueInterceptor*> pair = interceptors.value(id);
int valueIndex = pair.first;
QmlPropertyValueInterceptor *vi = pair.second;
- QVariant::Type type = property(id).type();
+ int type = property(id).userType();
if (type != QVariant::Invalid) {
if (valueIndex != -1) {