forked from qt-creator/qt-creator
RemoteLinux: Streamline device construction
Remove create() and init() functions and ctors except default constructor. Change-Id: Ib59606361e9000cf51df6eb69252cc00d9bd1684 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -62,7 +62,9 @@ GenericLinuxDeviceConfigurationWizard::GenericLinuxDeviceConfigurationWizard(QWi
|
||||
setPage(Internal::KeyDeploymentPageId, &d->keyDeploymentPage);
|
||||
setPage(Internal::FinalPageId, &d->finalPage);
|
||||
d->finalPage.setCommitPage(true);
|
||||
d->device = LinuxDevice::create(tr("Generic Linux Device"));
|
||||
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")));
|
||||
|
||||
Reference in New Issue
Block a user