aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4executablecompilationunit_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-05-24 12:44:17 +0200
committerUlf Hermann <ulf.hermann@qt.io>2023-05-24 19:00:25 +0200
commitfef39d62ef83b2eb153440d0a3cc62073788144f (patch)
tree9a196f85b3bbcae758f065b7bc8bd2486c7c40c8 /src/qml/jsruntime/qv4executablecompilationunit_p.h
parentf940f1b87e938fcbcbe4feab0cb49c266558979b (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_p.h')
-rw-r--r--src/qml/jsruntime/qv4executablecompilationunit_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4executablecompilationunit_p.h b/src/qml/jsruntime/qv4executablecompilationunit_p.h
index 1d73154b80..e35c00c8bb 100644
--- a/src/qml/jsruntime/qv4executablecompilationunit_p.h
+++ b/src/qml/jsruntime/qv4executablecompilationunit_p.h
@@ -87,7 +87,6 @@ public:
QIntrusiveListNode nextCompilationUnit;
ExecutionEngine *engine = nullptr;
- QQmlEnginePrivate *qmlEngine = nullptr; // only used in QML environment for composite types, not in plain QJSEngine case.
// url() and fileName() shall be used to load the actual QML/JS code or to show errors or
// warnings about that code. They include any potential URL interceptions and thus represent the
@@ -127,7 +126,7 @@ public:
QHash<int, IdentifierHash> namedObjectsPerComponentCache;
inline IdentifierHash namedObjectsPerComponent(int componentObjectIndex);
- void finalizeCompositeType(QQmlEnginePrivate *qmlEngine, CompositeMetaTypeIds typeIdsForComponent);
+ void finalizeCompositeType(CompositeMetaTypeIds typeIdsForComponent);
int m_totalBindingsCount = 0; // Number of bindings used in this type
int m_totalParserStatusCount = 0; // Number of instantiated types that are QQmlParserStatus subclasses