forked from qt-creator/qt-creator
ClangRefactoring: Fix project part id
We used display name which is part of project part id instead of the id getter. Change-Id: I97aa343c4380f9eb8c8e6a4400156eeac1f40863 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -188,7 +188,7 @@ ClangBackEnd::V2::ProjectPartContainer ProjectUpdater::toProjectPartContainer(
|
||||
|
||||
HeaderAndSources headerAndSources = headerAndSourcesFromProjectPart(projectPart);
|
||||
|
||||
return ClangBackEnd::V2::ProjectPartContainer(projectPart->displayName,
|
||||
return ClangBackEnd::V2::ProjectPartContainer(projectPart->id(),
|
||||
Utils::SmallStringVector(arguments),
|
||||
createCompilerMacros(projectPart->projectMacros),
|
||||
createIncludeSearchPaths(projectPart->headerPaths),
|
||||
|
||||
Reference in New Issue
Block a user