forked from qt-creator/qt-creator
ProjectExplorer: Simplify code in AbstractProcessStep
Change-Id: Ief747c8f0332041f964106d3bc71919b9924efd1 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -112,12 +112,8 @@ void AbstractProcessStep::setOutputParser(IOutputParser *parser)
|
|||||||
m_outputParserChain = new AnsiFilterParser;
|
m_outputParserChain = new AnsiFilterParser;
|
||||||
m_outputParserChain->appendOutputParser(parser);
|
m_outputParserChain->appendOutputParser(parser);
|
||||||
|
|
||||||
if (m_outputParserChain) {
|
connect(m_outputParserChain, &IOutputParser::addOutput, this, &AbstractProcessStep::outputAdded);
|
||||||
connect(m_outputParserChain, &IOutputParser::addOutput,
|
connect(m_outputParserChain, &IOutputParser::addTask, this, &AbstractProcessStep::taskAdded);
|
||||||
this, &AbstractProcessStep::outputAdded);
|
|
||||||
connect(m_outputParserChain, &IOutputParser::addTask,
|
|
||||||
this, &AbstractProcessStep::taskAdded);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Reference in New Issue
Block a user