Commit ec08993b authored by Aurindam Jana's avatar Aurindam Jana
Browse files

DeviceManager: Fix bug



Port list of desktop device was force updated.

Task-number: QTCREATORBUG-9055
Change-Id: I6b0c2247b16875c12842cd6fba6354eecbd29455
Reviewed-by: default avatarAurindam Jana <aurindam.jana@digia.com>
parent 6d65de24
...@@ -165,14 +165,6 @@ void DeviceManager::load() ...@@ -165,14 +165,6 @@ void DeviceManager::load()
break; break;
} }
} }
// TODO: Remove this in 2.9; this code introduces a bug #QTCREATORBUG-9055
// Set default port for desktop devices.
if (device->type() == Constants::DESKTOP_DEVICE_TYPE
&& device->freePorts().toString().isEmpty()) {
Utils::PortList freePorts;
freePorts.addRange(Constants::DESKTOP_PORT_START, Constants::DESKTOP_PORT_END);
device->setFreePorts(freePorts);
}
addDevice(device); addDevice(device);
} }
// Append the new SDK devices to the model. // Append the new SDK devices to the model.
......
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