From 8e03f0151850cba75161803d7731fc0aa427c7c0 Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Sun, 12 Jul 2015 13:56:24 +0300 Subject: [PATCH] Fix restore sequential download state. --- src/core/bittorrent/torrenthandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/bittorrent/torrenthandle.cpp b/src/core/bittorrent/torrenthandle.cpp index 17e26c638..ab82dbff3 100644 --- a/src/core/bittorrent/torrenthandle.cpp +++ b/src/core/bittorrent/torrenthandle.cpp @@ -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())