aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest/quicktestresult.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmltest/quicktestresult.cpp')
-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 4e44f8754b..9fcb60488c 100644
--- a/src/qmltest/quicktestresult.cpp
+++ b/src/qmltest/quicktestresult.cpp
@@ -506,7 +506,7 @@ void QuickTestResult::stringify(QQmlV8Function *args)
}
} else {
v8::Local<v8::String> jsstr = value->ToString();
- QString tmp = engine->toString(jsstr);
+ QString tmp = jsstr->v4Value().toQString();
if (value->IsArray())
result.append(QString::fromLatin1("[%1]").arg(tmp));
else