forked from qt-creator/qt-creator
Utils: Add missing emits in ShellCommand
Change-Id: Ibfdcad6baaf05e47bec1c13647fa301a777a8346 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
54c5322322
commit
c3c592eed4
@@ -392,7 +392,7 @@ void ShellCommand::runSynchronous(QtcProcess &process,
|
||||
if (d->m_progressParser)
|
||||
d->m_progressParser->parseProgress(text);
|
||||
if (!(d->m_flags & SuppressStdErr))
|
||||
appendError(text);
|
||||
emit appendError(text);
|
||||
if (d->m_progressiveOutput)
|
||||
emit stdErrText(text);
|
||||
});
|
||||
@@ -404,7 +404,7 @@ void ShellCommand::runSynchronous(QtcProcess &process,
|
||||
if (d->m_progressParser)
|
||||
d->m_progressParser->parseProgress(text);
|
||||
if (d->m_flags & ShowStdOut)
|
||||
append(text);
|
||||
emit append(text);
|
||||
if (d->m_progressiveOutput) {
|
||||
emit stdOutText(text);
|
||||
d->m_hadOutput = true;
|
||||
|
||||
Reference in New Issue
Block a user