forked from qt-creator/qt-creator
qmljs: avoid storing qmltypes and qmlproject
qmltypes files were stored in the snapshot during scan, this is wrong and bloats the memory usage. Task-number: QTCREATORBUG-13369 Change-Id: Ie8c3970ad7a8d732230f3dc73a9ba65ab62ea4e9 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
This commit is contained in:
committed by
Fawzi Mohamed
parent
3027bcc952
commit
9c3f5dd3a4
@@ -876,6 +876,8 @@ void ModelManagerInterface::parseLoop(QSet<QString> &scannedPaths,
|
||||
language = mainLanguage;
|
||||
if (language == Dialect::Qml && mainLanguage == Dialect::QmlQtQuick2Ui)
|
||||
language = Dialect::QmlQtQuick2;
|
||||
if (language == Dialect::QmlTypeInfo || language == Dialect::QmlProject)
|
||||
continue;
|
||||
QString contents;
|
||||
int documentRevision = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user