qmljs: avoid using threadusafe Project::files

Change-Id: I697efaedde6d10be3f1b435f8de30ab4ede2bd62
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
Fawzi Mohamed
2014-07-01 11:14:05 +02:00
parent 52cb3d5a7a
commit e53161568b

View File

@@ -62,7 +62,7 @@ void QmlJsTodoItemsScanner::keywordListChanged()
QStringList filesToBeUpdated;
foreach (const QmlJS::ModelManagerInterface::ProjectInfo &info, modelManager->projectInfos())
filesToBeUpdated << info.project->files(ProjectExplorer::Project::ExcludeGeneratedFiles);
filesToBeUpdated << info.sourceFiles;
modelManager->updateSourceFiles(filesToBeUpdated, false);
}