From c9aeecaaf895de520f4c6a0e3dba262d67fcd57c Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Mon, 29 Jul 2013 14:23:17 -0400 Subject: [PATCH] helpful when debugging to not have to jump between stack traces of different threads --- openbr/openbr_plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index 5f5fbb3..832d7b4 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -1166,7 +1166,8 @@ void Transform::project(const TemplateList &src, TemplateList &dst) const dst.append(Template()); QFutureSynchronizer futures; for (int i=0; iparallelism > 1) futures.addFuture(QtConcurrent::run(_project, this, &src[i], &dst[i])); + else _project(this, &src[i], &dst[i]); futures.waitForFinished(); } -- libgit2 0.21.4