aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/remotelinux/linuxdevice.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-01-21 13:36:50 +0100
committerhjk <hjk@qt.io>2020-04-09 11:19:36 +0000
commited9f4be3ee96a18dcb9973bb707f433e7c1bbbb8 (patch)
treef98577644570253d6382d7678b14a64481b00d3c /src/plugins/remotelinux/linuxdevice.cpp
parentec79f42701c01f5187a826db3c4d71bfdb491232 (diff)
RemoteLinux: Use a RemoteLinux.SupportsRSync key
... into the Device::extraData map instead of dedicated accessors. This weakens the compile time dependencies of the RSyncBuildStep, LinuxDevice, and GenericLinuxDeviceTester at the price of weaker, local typesafety for one bool value. Potentially this could go into the direction of re-using bits of "device feature" discovery and use. Nothing planned, though. Change-Id: I9aa6dce8066b82d344f64f38707f17416e273957 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/remotelinux/linuxdevice.cpp')
-rw-r--r--src/plugins/remotelinux/linuxdevice.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/remotelinux/linuxdevice.cpp b/src/plugins/remotelinux/linuxdevice.cpp
index 96d74870b6..7fcfe9f22c 100644
--- a/src/plugins/remotelinux/linuxdevice.cpp
+++ b/src/plugins/remotelinux/linuxdevice.cpp
@@ -280,16 +280,6 @@ DeviceEnvironmentFetcher::Ptr LinuxDevice::environmentFetcher() const
return DeviceEnvironmentFetcher::Ptr(new LinuxDeviceEnvironmentFetcher(sharedFromThis()));
}
-void LinuxDevice::setSupportsRsync(bool supportsRsync)
-{
- setExtraData("RemoteLinux.SupportsRSync", supportsRsync);
-}
-
-bool LinuxDevice::supportsRSync() const
-{
- return extraData("RemoteLinux.SupportsRSync").toBool();
-}
-
namespace Internal {
// Factory