CppTools: De-duplicate and rename function in ProjectPart

Change-Id: I675ce4c9059d8ae4046f6a13aa7c04b88141d443
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Nikolai Kosjar
2017-03-09 14:13:22 +01:00
parent 546df41853
commit 8a076e3f4b
11 changed files with 22 additions and 20 deletions

View File

@@ -288,7 +288,7 @@ void AutotoolsProject::updateCppCodeModel()
CppTools::RawProjectPart rpp;
rpp.setDisplayName(displayName());
rpp.setProjectFile(projectFilePath().toString());
rpp.setProjectFileLocation(projectFilePath().toString());
CppTools::ProjectPart::QtVersion activeQtVersion = CppTools::ProjectPart::NoQt;
if (QtSupport::BaseQtVersion *qtVersion = QtSupport::QtKitInformation::qtVersion(k)) {