forked from qt-creator/qt-creator
ProjectExplorer::IDevice: Add a default display name
Task-number: QTCREATORBUG-16281 Change-Id: Ieff929343b5dc3a84d9ecf5f4f0a032cb4ae4076 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -83,7 +83,7 @@ IosDevice::IosDevice()
|
||||
{
|
||||
setupId(IDevice::AutoDetected, Constants::IOS_DEVICE_ID);
|
||||
setType(Constants::IOS_DEVICE_TYPE);
|
||||
setDisplayName(IosDevice::name());
|
||||
setDefaultDisplayName(IosDevice::name());
|
||||
setDisplayType(QCoreApplication::translate("Ios::Internal::IosDevice", "iOS"));
|
||||
setMachineType(IDevice::Hardware);
|
||||
setDeviceState(DeviceDisconnected);
|
||||
@@ -98,7 +98,7 @@ IosDevice::IosDevice(const QString &uid)
|
||||
{
|
||||
setupId(IDevice::AutoDetected, Core::Id(Constants::IOS_DEVICE_ID).withSuffix(uid));
|
||||
setType(Constants::IOS_DEVICE_TYPE);
|
||||
setDisplayName(IosDevice::name());
|
||||
setDefaultDisplayName(IosDevice::name());
|
||||
setDisplayType(QCoreApplication::translate("Ios::Internal::IosDevice", "iOS"));
|
||||
setMachineType(IDevice::Hardware);
|
||||
setDeviceState(DeviceDisconnected);
|
||||
|
||||
Reference in New Issue
Block a user