From 763c15b4afedf956a8e4851cb825351d014a65a4 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 7 Apr 2020 11:55:10 +0200 Subject: [PATCH] ProjectExplorer: Replace some calls to IOutputParser::taskAdded ... where the intention was to simply emit the addTask signal. Change-Id: I74fb625cd8683d5f49f4a8e7b82086b3a3bccb38 Reviewed-by: hjk --- src/plugins/projectexplorer/xcodebuildparser.cpp | 4 ++-- src/plugins/qtsupport/qttestparser.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/projectexplorer/xcodebuildparser.cpp b/src/plugins/projectexplorer/xcodebuildparser.cpp index 32dc1d312a1..13dc96ace94 100644 --- a/src/plugins/projectexplorer/xcodebuildparser.cpp +++ b/src/plugins/projectexplorer/xcodebuildparser.cpp @@ -76,7 +76,7 @@ void XcodebuildParser::stdOutput(const QString &line) tr("Replacing signature"), FilePath::fromString( lne.left(lne.size() - QLatin1String(signatureChangeEndsWithPattern).size()))); - taskAdded(task, 1); + emit addTask(task, 1); return; } IOutputParser::stdError(line); @@ -92,7 +92,7 @@ void XcodebuildParser::stdError(const QString &line) ++m_fatalErrorCount; m_xcodeBuildParserState = UnknownXcodebuildState; // unfortunately the m_lastTarget, m_lastProject might not be in sync - taskAdded(CompileTask(Task::Error, tr("Xcodebuild failed."))); + emit addTask(CompileTask(Task::Error, tr("Xcodebuild failed."))); return; } if (m_xcodeBuildParserState == OutsideXcodebuild) { // also forward if UnknownXcodebuildState ? diff --git a/src/plugins/qtsupport/qttestparser.cpp b/src/plugins/qtsupport/qttestparser.cpp index 901613437e5..40db932ca4c 100644 --- a/src/plugins/qtsupport/qttestparser.cpp +++ b/src/plugins/qtsupport/qttestparser.cpp @@ -80,7 +80,7 @@ void QtTestParser::stdOutput(const QString &line) void QtTestParser::emitCurrentTask() { if (!m_currentTask.isNull()) { - emit taskAdded(m_currentTask); + emit addTask(m_currentTask); m_currentTask.clear(); } }