Browse Source

Merge pull request #3407 from glassez/seqdl

Fix restore sequential download state.
adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
de84bb9824
  1. 2
      src/core/bittorrent/torrenthandle.cpp

2
src/core/bittorrent/torrenthandle.cpp

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

Loading…
Cancel
Save