mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
parent
b35c2bca5d
commit
fccdeb4e78
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ void BitTorrent::TorrentDescriptor::setTorrentInfo(TorrentInfo torrentInfo)
|
|||
else
|
||||
{
|
||||
m_info = std::move(torrentInfo);
|
||||
m_ltAddTorrentParams.ti = torrentInfo.nativeInfo();
|
||||
m_ltAddTorrentParams.ti = m_info->nativeInfo();
|
||||
#ifdef QBT_USES_LIBTORRENT2
|
||||
m_ltAddTorrentParams.info_hashes = m_ltAddTorrentParams.ti->info_hashes();
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue