forked from qt-creator/qt-creator
		
	CppTools: Remove some duplication
Change-Id: I8c84660b28c3e76b2cedd08ff3b44a38583f38a0 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
		@@ -36,11 +36,13 @@ ClangEditorDocumentParser::ClangEditorDocumentParser(const QString &filePath)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void ClangEditorDocumentParser::updateImpl(const QFutureInterface<void> &,
 | 
			
		||||
                                           const CppTools::WorkingCopy &,
 | 
			
		||||
                                           const ProjectExplorer::Project *activeProject)
 | 
			
		||||
                                           const UpdateParams &updateParams)
 | 
			
		||||
{
 | 
			
		||||
    State state_ = state();
 | 
			
		||||
    state_.projectPart = determineProjectPart(filePath(), configuration(), state_, activeProject);
 | 
			
		||||
    state_.projectPart = determineProjectPart(filePath(),
 | 
			
		||||
                                              configuration(),
 | 
			
		||||
                                              state_,
 | 
			
		||||
                                              updateParams.activeProject);
 | 
			
		||||
    setState(state_);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user