diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2016-01-29 16:38:37 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2016-02-01 15:51:34 +0000 |
commit | 15f8bb07ed70502c320a0ffe167694bac9734a14 (patch) | |
tree | 74db1d0c400835fd539a7697453623650d7e36b2 /src/plugins/projectexplorer/buildstep.h | |
parent | db8b9f94631a0e1637af090d31a5832656ba9f2a (diff) |
ProjectExplorer: Use Qt5-style connects
The heavy lifting was done by clazy.
Change-Id: I619db09a79760186b72e7662490ed1205155c1a7
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/buildstep.h')
-rw-r--r-- | src/plugins/projectexplorer/buildstep.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/buildstep.h b/src/plugins/projectexplorer/buildstep.h index d3c0c74d4c..f3d257018a 100644 --- a/src/plugins/projectexplorer/buildstep.h +++ b/src/plugins/projectexplorer/buildstep.h @@ -85,7 +85,7 @@ signals: /// Adds \p string to the compile output view, formatted in \p format void addOutput(const QString &string, ProjectExplorer::BuildStep::OutputFormat format, - ProjectExplorer::BuildStep::OutputNewlineSetting newlineSetting = DoAppendNewline) const; + ProjectExplorer::BuildStep::OutputNewlineSetting newlineSetting = DoAppendNewline); void finished(); @@ -142,7 +142,8 @@ public: SimpleBuildStepConfigWidget(BuildStep *step) : m_step(step) { - connect(m_step, SIGNAL(displayNameChanged()), SIGNAL(updateSummary())); + connect(m_step, &ProjectConfiguration::displayNameChanged, + this, &BuildStepConfigWidget::updateSummary); } ~SimpleBuildStepConfigWidget() {} |