forked from qt-creator/qt-creator
DesktopDevice: Set device state as Unknown
Change-Id: If3354eb1313e385c6db66b956e2abe06818d8f54 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
25319ddf19
commit
7572dada36
@@ -48,7 +48,7 @@ DesktopDevice::DesktopDevice() : IDevice(Core::Id(DESKTOP_DEVICE_TYPE),
|
|||||||
Core::Id(DESKTOP_DEVICE_ID))
|
Core::Id(DESKTOP_DEVICE_ID))
|
||||||
{
|
{
|
||||||
setDisplayName(QCoreApplication::translate("ProjectExplorer::DesktopDevice", "Local PC"));
|
setDisplayName(QCoreApplication::translate("ProjectExplorer::DesktopDevice", "Local PC"));
|
||||||
setDeviceState(IDevice::DeviceReadyToUse);
|
setDeviceState(IDevice::DeviceStateUnknown);
|
||||||
const QString portRange =
|
const QString portRange =
|
||||||
QString::fromLatin1("%1-%2").arg(DESKTOP_PORT_START).arg(DESKTOP_PORT_END);
|
QString::fromLatin1("%1-%2").arg(DESKTOP_PORT_START).arg(DESKTOP_PORT_END);
|
||||||
setFreePorts(Utils::PortList::fromString(portRange));
|
setFreePorts(Utils::PortList::fromString(portRange));
|
||||||
|
Reference in New Issue
Block a user