diff --git a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp index 0c1b52993fa8bc044dddb2860e712379261fa3f3..82f5c6c9fde570a42019f4b72723b9df85fd63ac 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp +++ b/src/plugins/autotoolsprojectmanager/autotoolsproject.cpp @@ -433,7 +433,8 @@ void AutotoolsProject::updateCppCodeModel() pinfo.appendProjectPart(part); modelManager->updateProjectInfo(pinfo); - modelManager->updateSourceFiles(m_files); + modelManager->updateSourceFiles(m_files, + CppTools::CppModelManagerInterface::ForcedProgressNotification); setProjectLanguage(ProjectExplorer::Constants::LANG_CXX, !part->files.isEmpty()); } diff --git a/src/plugins/cmakeprojectmanager/cmakeproject.cpp b/src/plugins/cmakeprojectmanager/cmakeproject.cpp index 35f928c73dfdd1973b7ef974be44389eb8926989..fa278b2a1d6f77663d4ca9791a4e9019f12e0f1d 100644 --- a/src/plugins/cmakeprojectmanager/cmakeproject.cpp +++ b/src/plugins/cmakeprojectmanager/cmakeproject.cpp @@ -391,7 +391,8 @@ bool CMakeProject::parseCMakeLists() pinfo.appendProjectPart(part); modelmanager->updateProjectInfo(pinfo); m_codeModelFuture.cancel(); - m_codeModelFuture = modelmanager->updateSourceFiles(m_files); + m_codeModelFuture = modelmanager->updateSourceFiles(m_files, + CppTools::CppModelManagerInterface::ForcedProgressNotification); setProjectLanguage(ProjectExplorer::Constants::LANG_CXX, !part->files.isEmpty()); } diff --git a/src/plugins/genericprojectmanager/genericproject.cpp b/src/plugins/genericprojectmanager/genericproject.cpp index 326e25c37869bd853cbce236cc041f0050b675c0..afa10b6b59cdc0ccd171b6cb8b15a6517815ec27 100644 --- a/src/plugins/genericprojectmanager/genericproject.cpp +++ b/src/plugins/genericprojectmanager/genericproject.cpp @@ -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); } } diff --git a/src/plugins/qbsprojectmanager/qbsproject.cpp b/src/plugins/qbsprojectmanager/qbsproject.cpp index 7dda3e3cf47ac13ebdc636c5bff80a974a11bc62..766e0f8d19071342d2fa4d5fe9331d6f6701893b 100644 --- a/src/plugins/qbsprojectmanager/qbsproject.cpp +++ b/src/plugins/qbsprojectmanager/qbsproject.cpp @@ -597,7 +597,8 @@ void QbsProject::updateCppCodeModel(const qbs::ProjectData &prj) // Register update the code model: modelmanager->updateProjectInfo(pinfo); - m_codeModelFuture = modelmanager->updateSourceFiles(allFiles); + m_codeModelFuture = modelmanager->updateSourceFiles(allFiles, + CppTools::CppModelManagerInterface::ForcedProgressNotification); } void QbsProject::updateQmlJsCodeModel(const qbs::ProjectData &prj) diff --git a/src/plugins/qt4projectmanager/qt4project.cpp b/src/plugins/qt4projectmanager/qt4project.cpp index aa8118403134a59e6bd3bcec8ee788ece3a545db..4ba2a96919ae36aa534246daa3bfab750e7da4f5 100644 --- a/src/plugins/qt4projectmanager/qt4project.cpp +++ b/src/plugins/qt4projectmanager/qt4project.cpp @@ -615,7 +615,8 @@ void Qt4Project::updateCppCodeModel() setProjectLanguage(ProjectExplorer::Constants::LANG_CXX, !allFiles.isEmpty()); modelmanager->updateProjectInfo(pinfo); - m_codeModelFuture = modelmanager->updateSourceFiles(allFiles); + m_codeModelFuture = modelmanager->updateSourceFiles(allFiles, + CppTools::CppModelManagerInterface::ForcedProgressNotification); } void Qt4Project::updateQmlJSCodeModel()