diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2023-05-24 12:44:17 +0200 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2023-05-24 19:00:25 +0200 |
| commit | fef39d62ef83b2eb153440d0a3cc62073788144f (patch) | |
| tree | 9a196f85b3bbcae758f065b7bc8bd2486c7c40c8 /src/qml/jsruntime/qv4executablecompilationunit.cpp | |
| parent | f940f1b87e938fcbcbe4feab0cb49c266558979b (diff) | |
QtQml: Remove dead member
Besides never getting read it would also never get invalidated when the
QML engine was deleted.
Change-Id: Ibaceafbd3d61d0ed82a76e4d7caec518fa12ef09
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4executablecompilationunit.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4executablecompilationunit.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4executablecompilationunit.cpp b/src/qml/jsruntime/qv4executablecompilationunit.cpp index ca3e7e3141..a4293310c4 100644 --- a/src/qml/jsruntime/qv4executablecompilationunit.cpp +++ b/src/qml/jsruntime/qv4executablecompilationunit.cpp @@ -292,7 +292,6 @@ void ExecutableCompilationUnit::unlink() resolvedTypes.clear(); engine = nullptr; - qmlEngine = nullptr; delete [] runtimeLookups; runtimeLookups = nullptr; @@ -358,10 +357,8 @@ IdentifierHash ExecutableCompilationUnit::createNamedObjectsPerComponent(int com return *namedObjectsPerComponentCache.insert(componentObjectIndex, namedObjectCache); } -void ExecutableCompilationUnit::finalizeCompositeType(QQmlEnginePrivate *qmlEngine, CompositeMetaTypeIds types) +void ExecutableCompilationUnit::finalizeCompositeType(CompositeMetaTypeIds types) { - this->qmlEngine = qmlEngine; - // Add to type registry of composites if (propertyCaches.needsVMEMetaObject(/*root object*/0)) { // typeIds is only valid for types that have references to themselves. |
