aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2022-02-15 10:25:45 +0100
committerFabian Kosmale <fabian.kosmale@qt.io>2022-02-21 18:20:56 +0100
commitac4c09ba63f24f78148864f7685301cf304db925 (patch)
treede0f8b8c7e67010dcb90e52e0cd4ade1dac0c6f7 /src/qml/qml/qqmlengine.cpp
parent214b92b00a2f9c1527401a1a20bfcc2b30e8efab (diff)
Space optimize QQmlStrongJSQObjectReference
We can get rid of the boolean member by reusing the objectDestroyed function pointer. Change-Id: Idb9e4d0ddfb04b109126378a6c18799018c74785 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r--src/qml/qml/qqmlengine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp
index 54f0698f79..99697f8e1a 100644
--- a/src/qml/qml/qqmlengine.cpp
+++ b/src/qml/qml/qqmlengine.cpp
@@ -1959,6 +1959,8 @@ bool QQml_isFileCaseCorrect(const QString &fileName, int lengthIn /* = -1 */)
\sa {QQmlEngine::contextForObject()}{contextForObject()}, qmlEngine()
*/
+void hasJsOwnershipIndicator(QQmlGuardImpl *) {};
+
QT_END_NAMESPACE
#include "moc_qqmlengine.cpp"