forked from qt-creator/qt-creator
DesktopQmakeRunConfiguration: Use Qt5 connects
The future is now. Change-Id: I68fa2fc75d8fe4437600a808949892e9002d950d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -160,10 +160,11 @@ void DesktopQmakeRunConfiguration::ctor()
|
||||
QtSupport::BaseQtVersion *version = QtSupport::QtKitInformation::qtVersion(target()->kit());
|
||||
m_forcedGuiMode = (version && version->type() == QLatin1String(QtSupport::Constants::SIMULATORQT));
|
||||
|
||||
connect(target()->project(), SIGNAL(proFileUpdated(QmakeProjectManager::QmakeProFileNode*,bool,bool)),
|
||||
this, SLOT(proFileUpdated(QmakeProjectManager::QmakeProFileNode*,bool,bool)));
|
||||
connect(target(), SIGNAL(kitChanged()),
|
||||
this, SLOT(kitChanged()));
|
||||
QmakeProject *project = static_cast<QmakeProject *>(target()->project());
|
||||
connect(project, &QmakeProject::proFileUpdated,
|
||||
this, &DesktopQmakeRunConfiguration::proFileUpdated);
|
||||
connect(target(), &Target::kitChanged,
|
||||
this, &DesktopQmakeRunConfiguration::kitChanged);
|
||||
}
|
||||
|
||||
void DesktopQmakeRunConfiguration::kitChanged()
|
||||
|
||||
Reference in New Issue
Block a user