Commit adb052be authored by Tobias Nätterlund's avatar Tobias Nätterlund Committed by Tobias Nätterlund

RemoteLinux: Use AbstractRemoteLinuxDeployService without target

Made it possible to use AbstractRemoteLinuxDeployService without
a target or a configured kit, by simply setting a device

Change-Id: I9a11c6d9472dff30bc8512bcf333c1dd7ccfee76
Reviewed-by: default avatarChristian Kandeler <>
parent 1ed9f6bb
......@@ -162,6 +162,11 @@ void AbstractRemoteLinuxDeployService::setTarget(Target *target)
d->deviceConfiguration = DeviceKitInformation::device(d->kit);
void AbstractRemoteLinuxDeployService::setDevice(const IDevice::ConstPtr &device)
d->deviceConfiguration = device;
void AbstractRemoteLinuxDeployService::start()
QTC_ASSERT(d->state == Inactive, return);
......@@ -56,6 +56,8 @@ public:
void setTarget(ProjectExplorer::Target *bc);
// Only use setDevice() as fallback if no target is available
void setDevice(const ProjectExplorer::IDevice::ConstPtr &device);
void start();
void stop();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment