summaryrefslogtreecommitdiff
path: root/src/plugins/compilationdatabaseprojectmanager
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-08-27 15:55:03 +0200
committerTobias Hunger <tobias.hunger@qt.io>2019-08-28 07:28:18 +0000
commit3eea938a04c8046beebedad136e809b3981a85a2 (patch)
treea6f28652344dcb887b3347c97798656c282a8894 /src/plugins/compilationdatabaseprojectmanager
parentd763d70db9bdcefbda981bb8f9aa3e5c4b810bff (diff)
downloadqt-creator-3eea938a04c8046beebedad136e809b3981a85a2.tar.gz
Project: Rename Project::activeBuildEnvironment to Project::activeParseEnvironment
This is used for parsing the project only, so reflect that in the name. Not all projects have build configurations, so the old name did not make too much sense for what this has been used for. Eventually this code should move into the BuildSystem. Change-Id: Iff766150b5fe370f2912b0b3b15348b1c1fad5b5 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/compilationdatabaseprojectmanager')
-rw-r--r--src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp
index 2a8de8e130..918b8ef81a 100644
--- a/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp
+++ b/src/plugins/compilationdatabaseprojectmanager/compilationdatabaseproject.cpp
@@ -390,7 +390,7 @@ void CompilationDatabaseProject::buildTreeAndProjectParts()
setRootProjectNode(std::move(root));
- m_cppCodeModelUpdater->update({this, kitInfo, activeBuildEnvironment(), rpps});
+ m_cppCodeModelUpdater->update({this, kitInfo, activeParseEnvironment(), rpps});
}
CompilationDatabaseProject::CompilationDatabaseProject(const Utils::FilePath &projectFile)