Commit 7dbb9b26 authored by Daniel Teske's avatar Daniel Teske

DesktopQmakeRunConfiguration: Use Qt5 connects

The future is now.

Change-Id: I68fa2fc75d8fe4437600a808949892e9002d950d
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent a29de8f7
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment