forked from qt-creator/qt-creator
Rename Project::ExcludeGeneratedFiles
We want to distinguish between source files and generated files. So let's call them by their names. Change-Id: I324c4b82ca7fb7d8d0e175ea6c4f14f1306ec929 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -88,7 +88,7 @@ ModelManagerInterface::ProjectInfo ModelManager::defaultProjectInfoForProject(
|
||||
<< QLatin1String(Constants::QMLPROJECT_MIMETYPE)
|
||||
<< QLatin1String(Constants::QMLTYPES_MIMETYPE)
|
||||
<< QLatin1String(Constants::QMLUI_MIMETYPE);
|
||||
foreach (const QString &filePath, project->files(Project::ExcludeGeneratedFiles)) {
|
||||
foreach (const QString &filePath, project->files(Project::SourceFiles)) {
|
||||
if (qmlTypeNames.contains(mdb.mimeTypeForFile(filePath).name()))
|
||||
projectInfo.sourceFiles << filePath;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user