forked from qt-creator/qt-creator
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:
@@ -262,11 +262,6 @@ void VcsCommandPrivate::processDone()
|
|||||||
startNextJob();
|
startNextJob();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!m_progressiveOutput) {
|
|
||||||
emit q->stdOutText(m_stdOut);
|
|
||||||
if (!m_stdErr.isEmpty())
|
|
||||||
emit q->stdErrText(m_stdErr);
|
|
||||||
}
|
|
||||||
emit q->finished(success);
|
emit q->finished(success);
|
||||||
if (!success)
|
if (!success)
|
||||||
m_futureInterface.reportCanceled();
|
m_futureInterface.reportCanceled();
|
||||||
|
Reference in New Issue
Block a user