DesktopDevice: Set device state as Unknown

Change-Id: If3354eb1313e385c6db66b956e2abe06818d8f54
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Aurindam Jana
2013-04-05 14:06:15 +02:00
committed by Tobias Hunger
parent 25319ddf19
commit 7572dada36

View File

@@ -48,7 +48,7 @@ DesktopDevice::DesktopDevice() : IDevice(Core::Id(DESKTOP_DEVICE_TYPE),
Core::Id(DESKTOP_DEVICE_ID))
{
setDisplayName(QCoreApplication::translate("ProjectExplorer::DesktopDevice", "Local PC"));
setDeviceState(IDevice::DeviceReadyToUse);
setDeviceState(IDevice::DeviceStateUnknown);
const QString portRange =
QString::fromLatin1("%1-%2").arg(DESKTOP_PORT_START).arg(DESKTOP_PORT_END);
setFreePorts(Utils::PortList::fromString(portRange));