forked from qt-creator/qt-creator
ProjectExplorer: Use setter for IDevice::machineType
First step towards streamlining the IDevice::ctor/create lines of functions. Change-Id: I44226f8a05902cadd40c8820ab67752070d186c0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -63,7 +63,8 @@ GenericLinuxDeviceConfigurationWizard::GenericLinuxDeviceConfigurationWizard(QWi
|
||||
setPage(Internal::FinalPageId, &d->finalPage);
|
||||
d->finalPage.setCommitPage(true);
|
||||
d->device = LinuxDevice::create(tr("Generic Linux Device"),
|
||||
Core::Id(Constants::GenericLinuxOsType), IDevice::Hardware);
|
||||
Core::Id(Constants::GenericLinuxOsType));
|
||||
d->device->setMachineType(IDevice::Hardware);
|
||||
d->device->setFreePorts(Utils::PortList::fromString(QLatin1String("10000-10100")));
|
||||
SshConnectionParameters sshParams;
|
||||
sshParams.timeout = 10;
|
||||
|
||||
Reference in New Issue
Block a user