summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-12 06:11:56 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-12 06:11:56 (GMT)
commitb30731cea6f99ed3f2d358399f57fe3eb5739c17 (patch)
tree48b3c1053de12a1bb208a0e95654bb098591c862 /src/declarative
parentce37daea42e85a62bebff56fabe7103cd54df288 (diff)
downloadQt-b30731cea6f99ed3f2d358399f57fe3eb5739c17.zip
Qt-b30731cea6f99ed3f2d358399f57fe3eb5739c17.tar.gz
Qt-b30731cea6f99ed3f2d358399f57fe3eb5739c17.tar.bz2
Pass all WriteProperty args
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/qml/qmlmetaproperty.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qmlmetaproperty.cpp b/src/declarative/qml/qmlmetaproperty.cpp
index 34c98bf..79022e7 100644
--- a/src/declarative/qml/qmlmetaproperty.cpp
+++ b/src/declarative/qml/qmlmetaproperty.cpp
@@ -847,9 +847,9 @@ void QmlMetaPropertyPrivate::write(QObject *object, const QmlPropertyCache::Data
if (found) {
if (context && u.isRelative() && !u.isEmpty())
u = context->baseUrl().resolved(u);
- void *a[1];
- a[0] = &u;
- QMetaObject::metacall(object, QMetaObject::WriteProperty, coreIdx, a);
+ int status = -1;
+ void *argv[] = { &u, 0, &status, &flags };
+ QMetaObject::metacall(object, QMetaObject::WriteProperty, coreIdx, argv);
}
} else if (vt == t) {