aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmltest')
-rw-r--r--src/qmltest/quicktestresult.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmltest/quicktestresult.cpp b/src/qmltest/quicktestresult.cpp
index d8e0f3f84b..35091f8a59 100644
--- a/src/qmltest/quicktestresult.cpp
+++ b/src/qmltest/quicktestresult.cpp
@@ -477,7 +477,7 @@ void QuickTestResult::stringify(QQmlV8Function *args)
if (args->Length() < 1)
args->returnValue(v8::Null());
- v8::Local<v8::Value> value = (*args)[0];
+ v8::Handle<v8::Value> value = (*args)[0];
QString result;
QV8Engine *engine = args->engine();
@@ -505,7 +505,7 @@ void QuickTestResult::stringify(QQmlV8Function *args)
result = QLatin1String("Object");
}
} else {
- v8::Local<v8::String> jsstr = value->ToString();
+ v8::Handle<v8::String> jsstr = value->ToString();
QString tmp = jsstr->v4Value().toQString();
if (value->IsArray())
result.append(QString::fromLatin1("[%1]").arg(tmp));