Commit edfd394b authored by Christian Stenger's avatar Christian Stenger
Browse files

Fix issue when buildQueueFinished signal is emitted too fast



Change-Id: I56ba8f9d0d4abe7627f9dd0d980774dda814d456
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 32a6849f
......@@ -451,9 +451,9 @@ void TestRunner::buildProject(ProjectExplorer::Project *project)
ProjectExplorer::BuildManager *mgr = static_cast<ProjectExplorer::BuildManager *>(
ProjectExplorer::BuildManager::instance());
ProjectExplorer::ProjectExplorerPlugin *pep = ProjectExplorer::ProjectExplorerPlugin::instance();
pep->buildProject(project);
connect(mgr, &ProjectExplorer::BuildManager::buildQueueFinished,
this, &TestRunner::buildFinished);
pep->buildProject(project);
}
void TestRunner::buildFinished(bool success)
......
Supports Markdown
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