summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2021-11-13 21:00:16 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2021-11-16 17:31:35 +0000
commit1c0fe51e766ef177df6dff667474d9d1b3c2a842 (patch)
treeea18b5355fd650f3b61f53c38edbbd586aaad5fb
parentf471e1d5a9ef588bf4823279303668e81c97044a (diff)
downloadqbs-1c0fe51e766ef177df6dff667474d9d1b3c2a842.tar.gz
Fix Clang-Tidy & Clazy 'clazy-incorrect-emit' warnings
Change-Id: Ie424e43f328b6a5954efc8dfff3674c95e637600 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--src/lib/corelib/buildgraph/executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/executor.cpp b/src/lib/corelib/buildgraph/executor.cpp
index 9ef51d95f..fe2815aa7 100644
--- a/src/lib/corelib/buildgraph/executor.cpp
+++ b/src/lib/corelib/buildgraph/executor.cpp
@@ -1056,7 +1056,7 @@ void Executor::onJobFinished(const qbs::ErrorInfo &err)
if (m_evalContext->engine()->isActive()) {
qCDebug(lcExec) << "Executor job finished while rule execution is pausing. "
"Delaying slot execution.";
- QTimer::singleShot(0, job, [job, err] { job->finished(err); });
+ QTimer::singleShot(0, job, [job, err] { emit job->finished(err); });
return;
}