Commit 9073a641 authored by Tobias Hunger's avatar Tobias Hunger Committed by Tim Jenssen

CMake: Clear buildsystem related tasks before starting a new parser run

This prevents stale tasks from piling up in the issues pane.

Change-Id: I90f79e969b8929e5bb43e3964c01fcd10af2ea33
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 6b469e81
......@@ -337,6 +337,8 @@ QSet<Core::Id> BuildDirManager::updateCodeModel(CppTools::ProjectPartBuilder &pp
void BuildDirManager::parse()
{
TaskHub::clearTasks(ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM);
updateReaderType([this]() { parseOnceReaderReady(false); });
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment