summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-08 06:26:23 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-08 06:26:23 (GMT)
commitdeb4c5d3253c35875f77a8c70b3a0b0e491e6b86 (patch)
tree8c3f764f51da0c5d8323388f3121cf82869ac3a6 /src/declarative/qml
parentdf1788b4dbbb2826ae63f26bdf166342595343f4 (diff)
downloadQt-deb4c5d3253c35875f77a8c70b3a0b0e491e6b86.zip
Qt-deb4c5d3253c35875f77a8c70b3a0b0e491e6b86.tar.gz
Qt-deb4c5d3253c35875f77a8c70b3a0b0e491e6b86.tar.bz2
Fix qdeclarativeecmascript::arrayExpression() test
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativeexpression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeexpression.cpp b/src/declarative/qml/qdeclarativeexpression.cpp
index 7493690..2a3e557 100644
--- a/src/declarative/qml/qdeclarativeexpression.cpp
+++ b/src/declarative/qml/qdeclarativeexpression.cpp
@@ -475,7 +475,7 @@ QVariant QDeclarativeExpressionPrivate::value(QObject *secondaryScope, bool *isU
QDeclarativeEnginePrivate *ep = QDeclarativeEnginePrivate::get(q->engine());
- return ep->scriptValueToVariant(scriptValue(secondaryScope, isUndefined));
+ return ep->scriptValueToVariant(scriptValue(secondaryScope, isUndefined), qMetaTypeId<QList<QObject*> >());
}
/*!