Project managers: Force "Parsing" notification

...so parsing progress will also be reported for projects consisting of
only one source file.

Task-number: QTCREATORBUG-9597

Change-Id: If35a00b6f949258d64921f144919269fa0c81d36
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Nikolai Kosjar
2013-06-21 15:04:14 +02:00
parent 26fbefb26c
commit dc5a0e3e5a
5 changed files with 10 additions and 5 deletions

View File

@@ -286,7 +286,8 @@ void GenericProject::refresh(RefreshOptions options)
setProjectLanguage(ProjectExplorer::Constants::LANG_CXX, !part->files.isEmpty());
modelManager->updateProjectInfo(pinfo);
m_codeModelFuture = modelManager->updateSourceFiles(filesToUpdate);
m_codeModelFuture = modelManager->updateSourceFiles(filesToUpdate,
CppTools::CppModelManagerInterface::ForcedProgressNotification);
}
}