|
|
@ -204,13 +204,13 @@ TorrentHandle::TorrentHandle(Session *session, const libtorrent::torrent_handle |
|
|
|
, m_needSaveResumeData(false) |
|
|
|
, m_needSaveResumeData(false) |
|
|
|
{ |
|
|
|
{ |
|
|
|
initialize(); |
|
|
|
initialize(); |
|
|
|
setSequentialDownload(data.sequential); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef DISABLE_COUNTRIES_RESOLUTION |
|
|
|
#ifndef DISABLE_COUNTRIES_RESOLUTION |
|
|
|
resolveCountries(m_session->isResolveCountriesEnabled()); |
|
|
|
resolveCountries(m_session->isResolveCountriesEnabled()); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
if (!data.resumed) { |
|
|
|
if (!data.resumed) { |
|
|
|
|
|
|
|
setSequentialDownload(data.sequential); |
|
|
|
if (hasMetadata()) { |
|
|
|
if (hasMetadata()) { |
|
|
|
setFirstLastPiecePriority(data.sequential); |
|
|
|
setFirstLastPiecePriority(data.sequential); |
|
|
|
if (m_session->isAppendExtensionEnabled()) |
|
|
|
if (m_session->isAppendExtensionEnabled()) |
|
|
|