summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-05-25 15:58:20 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-05-25 14:32:41 +0000
commit5378b8ceb9407898c6ef0f2131b6bd8bc76fe504 (patch)
tree21338440475f585af6ce975225a51c29d3ffe4ce
parent527a3d06a4daf0cd795ae51d7da524f15a8bb30b (diff)
downloadqt-creator-5378b8ceb9407898c6ef0f2131b6bd8bc76fe504.tar.gz
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>
-rw-r--r--src/plugins/qbsprojectmanager/qbsbuildstep.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qbsprojectmanager/qbsbuildstep.cpp b/src/plugins/qbsprojectmanager/qbsbuildstep.cpp
index 20b11420e0..e0aef347e4 100644
--- a/src/plugins/qbsprojectmanager/qbsbuildstep.cpp
+++ b/src/plugins/qbsprojectmanager/qbsbuildstep.cpp
@@ -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;
}