From deb4c5d3253c35875f77a8c70b3a0b0e491e6b86 Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Thu, 8 Apr 2010 16:26:23 +1000 Subject: Fix qdeclarativeecmascript::arrayExpression() test --- src/declarative/qml/qdeclarativeexpression.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 >()); } /*! -- cgit v0.12