ProjectExplorer: Move some build-related code to BuildManager

The projectexplorer.cpp file is a huge mixed bag, which could use some
cleaning up. The queue() function is very much related to the
BuildManager, so move it there.

Change-Id: Ibc6425cc27d44514803a5e7c6139f83ddd760382
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2019-12-19 17:59:01 +01:00
parent dc0aa38e1b
commit 5cebf2a79a
11 changed files with 266 additions and 186 deletions

View File

@@ -651,7 +651,7 @@ void TestRunner::buildProject(Project *project)
buildManager, &BuildManager::cancel);
connect(buildManager, &BuildManager::buildQueueFinished,
this, &TestRunner::buildFinished);
ProjectExplorerPlugin::buildProject(project);
buildManager->buildProjectWithDependencies(project);
if (!buildManager->isBuilding())
buildFinished(false);
}