Fix connection in target

Change-Id: Iaa9291ef00a96aac5cea717c4734f02d3db0e8c2
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Tobias Hunger
2012-04-17 15:48:58 +02:00
parent d604c0bf33
commit aea8f7bbeb

View File

@@ -115,8 +115,8 @@ QList<DeployConfigurationFactory *> TargetPrivate::deployFactories() const
Target::Target(Project *project, const QString &id) :
ProjectConfiguration(project, id), d(new TargetPrivate)
{
connect(DeviceManager::instance(), SIGNAL(deviceUpdated(ProjectExplorer::IDevice::Id)),
this, SLOT(updateDeviceState(ProjectExplorer::IDevice::Id)));
connect(DeviceManager::instance(), SIGNAL(deviceUpdated(Core::Id)),
this, SLOT(updateDeviceState(Core::Id)));
// everything changed...
connect(DeviceManager::instance(), SIGNAL(deviceListChanged()),
this, SLOT(updateDeviceState()));