mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
committed by
GitHub
parent
f6ee6b92a4
commit
71af105a89
@@ -299,7 +299,7 @@ namespace
|
||||
|
||||
// TorrentImpl
|
||||
|
||||
TorrentImpl::TorrentImpl(SessionImpl *session, const lt::torrent_handle &nativeHandle, const LoadTorrentParams ¶ms)
|
||||
TorrentImpl::TorrentImpl(SessionImpl *session, const lt::torrent_handle &nativeHandle, LoadTorrentParams params)
|
||||
: Torrent(session)
|
||||
, m_session(session)
|
||||
, m_nativeHandle(nativeHandle)
|
||||
@@ -324,7 +324,7 @@ TorrentImpl::TorrentImpl(SessionImpl *session, const lt::torrent_handle &nativeH
|
||||
, m_useAutoTMM(params.useAutoTMM)
|
||||
, m_isStopped(params.stopped)
|
||||
, m_sslParams(params.sslParameters)
|
||||
, m_ltAddTorrentParams(params.ltAddTorrentParams)
|
||||
, m_ltAddTorrentParams(std::move(params.ltAddTorrentParams))
|
||||
, m_downloadLimit(cleanLimitValue(m_ltAddTorrentParams.download_limit))
|
||||
, m_uploadLimit(cleanLimitValue(m_ltAddTorrentParams.upload_limit))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user