VcsCommand: Don't emit std channel signals when finished

Conform to QtcProcess behavior and don't emit stdOutText()
and stdErrText() on finished when progressive output is off.
Use cleanedStdOut() / cleanedStdErr() getter instead.

Change-Id: I2c416c0264f2203c7a9c73de900c12777f4fd3b3
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2022-09-19 09:56:47 +02:00
parent 012de6b4c3
commit f729efe3df

View File

@@ -262,11 +262,6 @@ void VcsCommandPrivate::processDone()
startNextJob();
return;
}
if (!m_progressiveOutput) {
emit q->stdOutText(m_stdOut);
if (!m_stdErr.isEmpty())
emit q->stdErrText(m_stdErr);
}
emit q->finished(success);
if (!success)
m_futureInterface.reportCanceled();