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

@@ -357,7 +357,7 @@ void TeaLeafReader::updateCodeModel(CppTools::RawProjectParts &rpps)
}
includePaths += m_parameters.buildDirectory.toString();
CppTools::RawProjectPart rpp;
rpp.setProjectFile(QString()); // No project file information available!
rpp.setProjectFileLocation(QString()); // No project file information available!
rpp.setIncludePaths(includePaths);
CppTools::RawProjectPartFlags cProjectFlags;