diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-08 06:26:23 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-04-08 06:26:23 (GMT) |
commit | deb4c5d3253c35875f77a8c70b3a0b0e491e6b86 (patch) | |
tree | 8c3f764f51da0c5d8323388f3121cf82869ac3a6 /src/declarative/qml | |
parent | df1788b4dbbb2826ae63f26bdf166342595343f4 (diff) | |
download | Qt-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.cpp | 2 |
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*> >()); } /*! |