From 0e45db9a04c339ee7aa0e692e5ad3827db388628 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 15 Aug 2018 13:18:32 +0200 Subject: Fix order of own property names of module namespace objects They must be sorted, no duplicates and only one default entry at most. Change-Id: Ia9c0e54a761ce7cbfebb837330bf3769d505eb3b Reviewed-by: Lars Knoll --- src/qml/jsruntime/qv4engine_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4engine_p.h') diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h index 00879511d3..4cd7e40013 100644 --- a/src/qml/jsruntime/qv4engine_p.h +++ b/src/qml/jsruntime/qv4engine_p.h @@ -582,7 +582,7 @@ public: QHash> modules; void injectModule(const QQmlRefPointer &moduleUnit); - QQmlRefPointer loadModule(const QUrl &_url, CompiledData::CompilationUnit *referrer = nullptr); + QQmlRefPointer loadModule(const QUrl &_url, const CompiledData::CompilationUnit *referrer = nullptr); #endif private: -- cgit v1.2.3