1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-24 05:25:37 +00:00

Merge pull request #3407 from glassez/seqdl

Fix restore sequential download state.
This commit is contained in:
sledgehammer999 2015-07-13 23:35:17 +03:00
commit de84bb9824

View File

@ -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())