forked from qt-creator/qt-creator
ConsoleProcess: Uniform the common interface of QtcProcess
This is a preliminary step before merging ConsoleProcess into QtcProcess. Remove processError() signal, use errorOccurred() instead. Change-Id: If11064944228c82a9099fffdba942c4276690085 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -174,7 +174,7 @@ TerminalRunner::TerminalRunner(RunControl *runControl,
|
||||
{
|
||||
setId("TerminalRunner");
|
||||
|
||||
connect(&m_stubProc, &ConsoleProcess::processError,
|
||||
connect(&m_stubProc, &ConsoleProcess::errorOccurred,
|
||||
this, &TerminalRunner::stubError);
|
||||
connect(&m_stubProc, &ConsoleProcess::started,
|
||||
this, &TerminalRunner::stubStarted);
|
||||
@@ -235,9 +235,9 @@ void TerminalRunner::stubStarted()
|
||||
reportStarted();
|
||||
}
|
||||
|
||||
void TerminalRunner::stubError(const QString &msg)
|
||||
void TerminalRunner::stubError()
|
||||
{
|
||||
reportFailure(msg);
|
||||
reportFailure(m_stubProc.errorString());
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user