summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/runconfiguration.cpp
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-01-29 16:38:37 +0200
committerOrgad Shaneh <orgads@gmail.com>2016-02-01 15:51:34 +0000
commit15f8bb07ed70502c320a0ffe167694bac9734a14 (patch)
tree74db1d0c400835fd539a7697453623650d7e36b2 /src/plugins/projectexplorer/runconfiguration.cpp
parentdb8b9f94631a0e1637af090d31a5832656ba9f2a (diff)
downloadqt-creator-15f8bb07ed70502c320a0ffe167694bac9734a14.tar.gz
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/runconfiguration.cpp')
-rw-r--r--src/plugins/projectexplorer/runconfiguration.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp
index 7fbfdce344..99cd72c951 100644
--- a/src/plugins/projectexplorer/runconfiguration.cpp
+++ b/src/plugins/projectexplorer/runconfiguration.cpp
@@ -246,7 +246,8 @@ void RunConfiguration::addExtraAspect(IRunConfigurationAspect *aspect)
void RunConfiguration::ctor()
{
- connect(this, SIGNAL(enabledChanged()), this, SIGNAL(requestRunActionsUpdate()));
+ connect(this, &RunConfiguration::enabledChanged,
+ this, &RunConfiguration::requestRunActionsUpdate);
Utils::MacroExpander *expander = macroExpander();
expander->setDisplayName(tr("Run Settings"));
@@ -702,7 +703,7 @@ void RunControl::bringApplicationToForegroundInternal()
// "-600 no eligible process with specified process id"
// if we call SetFrontProcess too early
++m_foregroundCount;
- QTimer::singleShot(200, this, SLOT(bringApplicationToForegroundInternal()));
+ QTimer::singleShot(200, this, &RunControl::bringApplicationToForegroundInternal);
return;
}
#endif