summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2014-12-05 08:39:24 +0100
committerChristian Stenger <christian.stenger@theqtcompany.com>2014-12-05 09:51:52 +0200
commitedfd394bf54bc78f2a85104da2f49484a61d1134 (patch)
treecf36f159467c9ce28a271584c5d7602fa3f6388e
parent32a6849fae4cfa35a8c5f395701cdbb15c31ef03 (diff)
downloadqt-creator-edfd394bf54bc78f2a85104da2f49484a61d1134.tar.gz
Fix issue when buildQueueFinished signal is emitted too fast
Change-Id: I56ba8f9d0d4abe7627f9dd0d980774dda814d456 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
-rw-r--r--plugins/autotest/testrunner.cpp2
1 files changed, 1 insertions, 1 deletions
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 *>(
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)