forked from qt-creator/qt-creator
ProjectExplorer: Use the fromMap(toMap()) pattern to clone devices
Change-Id: Ie6e73f5ef1019907dd311aac116d71f08b5a5202 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user