aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4object.cpp')
-rw-r--r--src/qml/jsruntime/qv4object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4object.cpp b/src/qml/jsruntime/qv4object.cpp
index c4c1b6f7f4..7236307278 100644
--- a/src/qml/jsruntime/qv4object.cpp
+++ b/src/qml/jsruntime/qv4object.cpp
@@ -137,7 +137,7 @@ Value Object::getValue(const Value &thisObject, const Property *p, PropertyAttri
ScopedCallData callData(getter->engine(), 0);
callData->thisObject = thisObject;
- return getter->call(callData);
+ return Value::fromReturnedValue(getter->call(callData));
}
void Object::putValue(Property *pd, PropertyAttributes attrs, const Value &value)