aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-04-30 22:27:36 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-01 09:27:35 +0200
commitbe2b623bcfa3a3781771e8d44a4f12e3725775e9 (patch)
treeb9d2f2fdabd970c2fc8d8a0be30b04339275a8ac /src/qmltest
parent382509a7f8753e2a11315eeb2086b27b6bc50a61 (diff)
Move QV8Engine::to/fromVariant over to a v4 based API
Change-Id: Ie44de10cbd970715345e2c428db666dc6233b39c Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktestresult.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmltest/quicktestresult.cpp b/src/qmltest/quicktestresult.cpp
index 9fcb60488c..d8e0f3f84b 100644
--- a/src/qmltest/quicktestresult.cpp
+++ b/src/qmltest/quicktestresult.cpp
@@ -488,7 +488,7 @@ void QuickTestResult::stringify(QQmlV8Function *args)
&& !value->IsArray()
&& !value->IsDate()
&& !value->IsRegExp()) {
- QVariant v = engine->toVariant(value, QMetaType::UnknownType);
+ QVariant v = engine->toVariant(value->v4Value(), QMetaType::UnknownType);
if (v.isValid()) {
switch (v.type()) {
case QVariant::Vector3D: