forked from qt-creator/qt-creator
ProjectExplorer: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: I619db09a79760186b72e7662490ed1205155c1a7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
db8b9f9463
commit
15f8bb07ed
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user