qmllint/importer: Fix hasSystemModule not being set properly
Previously we didn't set this flag properly if there were multiple modules that were imported. Change-Id: I05d81bc82f69e038a82131e20c23fb9dd497e9cc Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
parent
84dd339e2e
commit
e86a38f20f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue