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/buildenvironmentwidget.cpp | |
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/buildenvironmentwidget.cpp')
-rw-r--r-- | src/plugins/projectexplorer/buildenvironmentwidget.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/projectexplorer/buildenvironmentwidget.cpp b/src/plugins/projectexplorer/buildenvironmentwidget.cpp index baf51a51ec..aea3e9b9f2 100644 --- a/src/plugins/projectexplorer/buildenvironmentwidget.cpp +++ b/src/plugins/projectexplorer/buildenvironmentwidget.cpp @@ -46,15 +46,15 @@ BuildEnvironmentWidget::BuildEnvironmentWidget(BuildConfiguration *bc) m_buildEnvironmentWidget = new EnvironmentWidget(this, m_clearSystemEnvironmentCheckBox); vbox->addWidget(m_buildEnvironmentWidget); - connect(m_buildEnvironmentWidget, SIGNAL(userChangesChanged()), - this, SLOT(environmentModelUserChangesChanged())); - connect(m_clearSystemEnvironmentCheckBox, SIGNAL(toggled(bool)), - this, SLOT(clearSystemEnvironmentCheckBoxClicked(bool))); + connect(m_buildEnvironmentWidget, &EnvironmentWidget::userChangesChanged, + this, &BuildEnvironmentWidget::environmentModelUserChangesChanged); + connect(m_clearSystemEnvironmentCheckBox, &QAbstractButton::toggled, + this, &BuildEnvironmentWidget::clearSystemEnvironmentCheckBoxClicked); m_buildConfiguration = bc; - connect(m_buildConfiguration->target(), SIGNAL(environmentChanged()), - this, SLOT(environmentChanged())); + connect(m_buildConfiguration->target(), &Target::environmentChanged, + this, &BuildEnvironmentWidget::environmentChanged); m_clearSystemEnvironmentCheckBox->setChecked(!m_buildConfiguration->useSystemEnvironment()); m_buildEnvironmentWidget->setBaseEnvironment(m_buildConfiguration->baseEnvironment()); |