mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
parent
b35c2bca5d
commit
fccdeb4e78
@ -195,7 +195,7 @@ void BitTorrent::TorrentDescriptor::setTorrentInfo(TorrentInfo torrentInfo)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_info = std::move(torrentInfo);
|
m_info = std::move(torrentInfo);
|
||||||
m_ltAddTorrentParams.ti = torrentInfo.nativeInfo();
|
m_ltAddTorrentParams.ti = m_info->nativeInfo();
|
||||||
#ifdef QBT_USES_LIBTORRENT2
|
#ifdef QBT_USES_LIBTORRENT2
|
||||||
m_ltAddTorrentParams.info_hashes = m_ltAddTorrentParams.ti->info_hashes();
|
m_ltAddTorrentParams.info_hashes = m_ltAddTorrentParams.ti->info_hashes();
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user