diff options
Diffstat (limited to 'src/qml/jsruntime/qv4qobjectwrapper.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4qobjectwrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4qobjectwrapper.cpp b/src/qml/jsruntime/qv4qobjectwrapper.cpp index 4537b6c941..578c7310f2 100644 --- a/src/qml/jsruntime/qv4qobjectwrapper.cpp +++ b/src/qml/jsruntime/qv4qobjectwrapper.cpp @@ -833,7 +833,7 @@ struct QObjectSlotDispatcher : public QtPrivate::QSlotObjectBase } // namespace QV4 -ReturnedValue QObjectWrapper::method_connect(SimpleCallContext *ctx) +ReturnedValue QObjectWrapper::method_connect(CallContext *ctx) { if (ctx->callData->argc == 0) V4THROW_ERROR("Function.prototype.connect: no arguments given"); @@ -879,7 +879,7 @@ ReturnedValue QObjectWrapper::method_connect(SimpleCallContext *ctx) return Encode::undefined(); } -ReturnedValue QObjectWrapper::method_disconnect(SimpleCallContext *ctx) +ReturnedValue QObjectWrapper::method_disconnect(CallContext *ctx) { if (ctx->callData->argc == 0) V4THROW_ERROR("Function.prototype.disconnect: no arguments given"); |