forked from qt-creator/qt-creator
QbsProjectManager: Fix task emission from build step.
The connect() call was not updated after new default parameters had been added to the slot, so the additional parameters emitted via the signal never reached the slot. Fixed by converting to new connect style. Task-number: QTCREATORBUG-16334 Change-Id: Ia418c2980e85fa41353e23f654587aac85462469 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -114,8 +114,7 @@ bool QbsBuildStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
|
||||
connect(m_parser, SIGNAL(addOutput(QString,ProjectExplorer::BuildStep::OutputFormat)),
|
||||
this, SIGNAL(addOutput(QString,ProjectExplorer::BuildStep::OutputFormat)));
|
||||
connect(m_parser, SIGNAL(addTask(ProjectExplorer::Task)),
|
||||
this, SIGNAL(addTask(ProjectExplorer::Task)));
|
||||
connect(m_parser, &ProjectExplorer::IOutputParser::addTask, this, &QbsBuildStep::addTask);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user