aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qmlcompiler/qqmljsimporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlcompiler/qqmljsimporter.cpp b/src/qmlcompiler/qqmljsimporter.cpp
index aadd7b3707..244b8119e9 100644
--- a/src/qmlcompiler/qqmljsimporter.cpp
+++ b/src/qmlcompiler/qqmljsimporter.cpp
@@ -636,7 +636,7 @@ bool QQmlJSImporter::importHelper(const QString &module, AvailableTypes *types,
types->cppNames.insert(cacheEntry->cppNames);
types->staticModules << cacheEntry->staticModules;
- types->hasSystemModule = cacheEntry->hasSystemModule;
+ types->hasSystemModule |= cacheEntry->hasSystemModule;
// No need to import qml names for dependencies
if (!isDependency)