@ -87,8 +87,11 @@ TorrentInfo::TorrentInfo(const TorrentInfo &other)
}
TorrentInfo &TorrentInfo::operator=(const TorrentInfo &other)
{
if (this != &other)
m_nativeInfo = other.m_nativeInfo;
return *this;
@ -439,8 +439,11 @@ bool AutoDownloadRule::accepts(const QVariantHash &articleData)
AutoDownloadRule &AutoDownloadRule::operator=(const AutoDownloadRule &other)
m_dataPtr = other.m_dataPtr;