aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4jscall_p.h
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2021-02-19 11:10:51 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2021-02-19 18:12:29 +0100
commit3b91f3a69a2679e69d056a53e9c7edc7e6d552a6 (patch)
tree1f78b3f3bdac88ae74ad1a2e0cada101d7991cd2 /src/qml/jsruntime/qv4jscall_p.h
parent1a61ff978661cb2eb536dec4858158386320c2b4 (diff)
QV4::populateJSCallArguments: Use v4->metaTypeToJS
It appears that nowadays v4->metaTypeToJS handles QVariant and QObject derived classes just fine, and in exactly the same way as the custom code in populateJSCallArguments did. Task-number: QTBUG-82931 Change-Id: Ic5f97dfc3296a409fdd6a1fcb78d3b9bdba5f3a1 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4jscall_p.h')
-rw-r--r--src/qml/jsruntime/qv4jscall_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4jscall_p.h b/src/qml/jsruntime/qv4jscall_p.h
index ffc666d1e5..e0b47c76e3 100644
--- a/src/qml/jsruntime/qv4jscall_p.h
+++ b/src/qml/jsruntime/qv4jscall_p.h
@@ -112,7 +112,7 @@ ReturnedValue FunctionObject::call(const JSCallData &data) const
return call(data.thisObject, data.args, data.argc);
}
-void populateJSCallArguments(QQmlEnginePrivate *ep, ExecutionEngine *v4, JSCallData &jsCall,
+void populateJSCallArguments(ExecutionEngine *v4, JSCallData &jsCall,
void **args, int *types);
struct ScopedStackFrame {