forked from qt-creator/qt-creator
CppEditor: Convert parts of ModelManagerInterface to FilePath
Change-Id: If7503b6d6732e1735eb8d48ece6e80886d10c647 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -426,8 +426,7 @@ IAssistProposal *CustomAssistProcessor::perform()
|
||||
}
|
||||
case CustomAssistMode::IncludePath: {
|
||||
HeaderPaths headerPaths;
|
||||
const ProjectPart::ConstPtr projectPart
|
||||
= projectPartForFile(interface()->filePath().toString());
|
||||
const ProjectPart::ConstPtr projectPart = projectPartForFile(interface()->filePath());
|
||||
if (projectPart)
|
||||
headerPaths = projectPart->headerPaths;
|
||||
completions = completeInclude(m_endPos, m_completionOperator, interface(), headerPaths);
|
||||
|
||||
Reference in New Issue
Block a user