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

@@ -997,8 +997,8 @@ void QbsProject::updateCppCodeModel()
rpp.setHeaderPaths(grpHeaderPaths);
rpp.setDisplayName(grp.name());
rpp.setProjectFile(grp.location().filePath(),
grp.location().line(), grp.location().column());
rpp.setProjectFileLocation(grp.location().filePath(),
grp.location().line(), grp.location().column());
QHash<QString, qbs::ArtifactData> filePathToSourceArtifact;
bool hasCFiles = false;