aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4managed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4managed.cpp')
-rw-r--r--src/qml/jsruntime/qv4managed.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4managed.cpp b/src/qml/jsruntime/qv4managed.cpp
index 31bb8f2b94..4d40b72bab 100644
--- a/src/qml/jsruntime/qv4managed.cpp
+++ b/src/qml/jsruntime/qv4managed.cpp
@@ -174,23 +174,22 @@ QString Managed::className() const
bool Managed::hasInstance(Managed *m, const ValueRef)
{
- m->engine()->current->throwTypeError();
+ return m->engine()->current->throwTypeError();
}
ReturnedValue Managed::construct(Managed *m, CallData *)
{
- m->engine()->current->throwTypeError();
+ return m->engine()->current->throwTypeError();
}
ReturnedValue Managed::call(Managed *m, CallData *)
{
- m->engine()->current->throwTypeError();
+ return m->engine()->current->throwTypeError();
}
ReturnedValue Managed::getLookup(Managed *m, Lookup *)
{
- m->engine()->current->throwTypeError();
- return 0;
+ return m->engine()->current->throwTypeError();
}
void Managed::setLookup(Managed *m, Lookup *, const ValueRef)