diff options
author | hjk <hjk@qt.io> | 2019-05-07 12:44:45 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2019-05-10 12:35:59 +0000 |
commit | 555360c1d40f04d0667bb355e5f8a4406dc435f6 (patch) | |
tree | 5786f42d2a0119ac2f52d53b5e44431cdf09b82b /src/plugins/qnx/qnxdevice.cpp | |
parent | bfe35997681e54f6610c1db09fd2955eaf110418 (diff) |
ProjectExplorer: Use the fromMap(toMap()) pattern to clone devices
Change-Id: Ie6e73f5ef1019907dd311aac116d71f08b5a5202
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/qnx/qnxdevice.cpp')
-rw-r--r-- | src/plugins/qnx/qnxdevice.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/qnx/qnxdevice.cpp b/src/plugins/qnx/qnxdevice.cpp index d1875f96573..7794dbde1b3 100644 --- a/src/plugins/qnx/qnxdevice.cpp +++ b/src/plugins/qnx/qnxdevice.cpp @@ -151,11 +151,6 @@ QVariantMap QnxDevice::toMap() const return map; } -IDevice::Ptr QnxDevice::clone() const -{ - return Ptr(new QnxDevice(*this)); -} - PortsGatheringMethod::Ptr QnxDevice::portsGatheringMethod() const { return PortsGatheringMethod::Ptr(new QnxPortsGatheringMethod); |