aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmljstools/qmljsmodelmanager.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2016-01-08 16:56:35 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-01-13 14:12:08 +0000
commit42d570a3fe89da30ebbc280c79f5565471786db6 (patch)
tree59e8f41c94fa5ea1fb0628ee3ee24940007d0f61 /src/plugins/qmljstools/qmljsmodelmanager.cpp
parent0e012a835b4d7e086eb954a210a10871dc28726e (diff)
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>
Diffstat (limited to 'src/plugins/qmljstools/qmljsmodelmanager.cpp')
-rw-r--r--src/plugins/qmljstools/qmljsmodelmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmljstools/qmljsmodelmanager.cpp b/src/plugins/qmljstools/qmljsmodelmanager.cpp
index e5216eaeee3..14b716cb219 100644
--- a/src/plugins/qmljstools/qmljsmodelmanager.cpp
+++ b/src/plugins/qmljstools/qmljsmodelmanager.cpp
@@ -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;
}