From edfd394bf54bc78f2a85104da2f49484a61d1134 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 5 Dec 2014 08:39:24 +0100 Subject: Fix issue when buildQueueFinished signal is emitted too fast Change-Id: I56ba8f9d0d4abe7627f9dd0d980774dda814d456 Reviewed-by: Christian Stenger --- plugins/autotest/testrunner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autotest/testrunner.cpp b/plugins/autotest/testrunner.cpp index b3abaf7194..2c0b035a1c 100644 --- a/plugins/autotest/testrunner.cpp +++ b/plugins/autotest/testrunner.cpp @@ -451,9 +451,9 @@ void TestRunner::buildProject(ProjectExplorer::Project *project) ProjectExplorer::BuildManager *mgr = static_cast( 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) -- cgit v1.2.1