diff --git a/src/core/device.cpp b/src/core/device.cpp index d6f576c..cc1d29d 100644 --- a/src/core/device.cpp +++ b/src/core/device.cpp @@ -55,6 +55,7 @@ Device::Device(std::shared_ptr d_ptr, Device::Device(const Device& other) : QObject() { + d = std::make_shared(); d->m_Name = other.d->m_Name; d->m_DeviceNode = other.d->m_DeviceNode; d->m_LogicalSectorSize = other.d->m_LogicalSectorSize;