aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltypedata_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2020-04-09 11:35:02 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2020-04-21 22:34:46 +0200
commitfc3f603d0067c34356a838b652b94042dc264cd5 (patch)
tree1844a5b6fba375b62a1ea6db2e55c4cf7f7d6565 /src/qml/qml/qqmltypedata_p.h
parentf31a2dc6fc713ee06ea7a9ba45c3ceaace7d735d (diff)
Prepare for new members in QQmlPrivate::CachedQmlUnit
Pass the address of the entire structure through to the compiler, so that when adding new members we can easily access them. Change-Id: I5da75ba4e64d3e0e750a3ff3df4edbb88cdb6937 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqmltypedata_p.h')
-rw-r--r--src/qml/qml/qqmltypedata_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmltypedata_p.h b/src/qml/qml/qqmltypedata_p.h
index c3b0faa5b4..2c56ede9bd 100644
--- a/src/qml/qml/qqmltypedata_p.h
+++ b/src/qml/qml/qqmltypedata_p.h
@@ -112,7 +112,7 @@ protected:
void done() override;
void completed() override;
void dataReceived(const SourceCodeData &) override;
- void initializeFromCachedUnit(const QV4::CompiledData::Unit *unit) override;
+ void initializeFromCachedUnit(const QQmlPrivate::CachedQmlUnit *unit) override;
void allDependenciesDone() override;
void downloadProgressChanged(qreal) override;