From 99c7fe45be00b694da4041c5a06e5484f2985dc6 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Thu, 11 Apr 2024 10:17:52 +0200 Subject: QtQml: Add a wrapper builtin for QQmlV4Function* This way qmltyperegistrar can recognize it and refrain from warning about it. Task-number: QTBUG-101143 Change-Id: I598140e7e90dbd3e27a78c26eff3d46f0fd3e989 Reviewed-by: Fabian Kosmale --- src/qmlworkerscript/qquickworkerscript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qmlworkerscript/qquickworkerscript.cpp') diff --git a/src/qmlworkerscript/qquickworkerscript.cpp b/src/qmlworkerscript/qquickworkerscript.cpp index 6f09d4357d..b4fd21fe7e 100644 --- a/src/qmlworkerscript/qquickworkerscript.cpp +++ b/src/qmlworkerscript/qquickworkerscript.cpp @@ -580,7 +580,7 @@ bool QQuickWorkerScript::ready() const of ListModel objects, any modifications by the other thread to an object passed in \c message will not be reflected in the original object. */ -void QQuickWorkerScript::sendMessage(QQmlV4Function *args) +void QQuickWorkerScript::sendMessage(QQmlV4FunctionPtr args) { if (!engine()) { qWarning("QQuickWorkerScript: Attempt to send message before WorkerScript establishment"); -- cgit v1.2.3