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:
Christian Kandeler
2019-08-01 14:30:10 +02:00
parent 86d0c7ef66
commit 45f9c178e1
16 changed files with 33 additions and 23 deletions

View File

@@ -64,7 +64,6 @@ GenericLinuxDeviceConfigurationWizard::GenericLinuxDeviceConfigurationWizard(QWi
d->finalPage.setCommitPage(true);
d->device = LinuxDevice::create();
d->device->setupId(IDevice::ManuallyAdded, Core::Id());
d->device->setDisplayName(tr("Generic Linux Device"));
d->device->setType(Constants::GenericLinuxOsType);
d->device->setMachineType(IDevice::Hardware);
d->device->setFreePorts(Utils::PortList::fromString(QLatin1String("10000-10100")));