RemoteLinux: Remove AbstractRemoteLinuxDeployService::setDevice

Unused now.

Change-Id: I53ec97026e49435d1ca84b4f925e82c233853a8f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2023-01-27 17:12:00 +01:00
parent 97002f934f
commit 50ee70fcee
2 changed files with 1 additions and 7 deletions

View File

@@ -96,11 +96,6 @@ void AbstractRemoteLinuxDeployService::setTarget(Target *target)
d->deviceConfiguration = DeviceKitAspect::device(kit());
}
void AbstractRemoteLinuxDeployService::setDevice(const IDevice::ConstPtr &device)
{
d->deviceConfiguration = device;
}
void AbstractRemoteLinuxDeployService::start()
{
QTC_ASSERT(!d->m_taskTree, return);

View File

@@ -83,8 +83,7 @@ public:
~AbstractRemoteLinuxDeployService() override;
void setTarget(ProjectExplorer::Target *bc);
// Only use setDevice() as fallback if no target is available
void setDevice(const ProjectExplorer::IDeviceConstPtr &device);
void start();
void stop();