forked from qt-creator/qt-creator
Don't do a GC call when updating the project, it can remove useful "yet not parsed" documents.
This commit is contained in:
@@ -498,12 +498,8 @@ void Qt4Project::updateCodeModel()
|
||||
pinfo.sourceFiles = files;
|
||||
|
||||
modelmanager->updateProjectInfo(pinfo);
|
||||
|
||||
modelmanager->GC();
|
||||
modelmanager->updateSourceFiles(pinfo.sourceFiles);
|
||||
}
|
||||
|
||||
// update info
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user