mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-26 13:42:37 +00:00
Merge pull request #3292 from glassez/resumedata
Fix save resume data for torrents w/o metadata. Closes #1488.
This commit is contained in:
commit
b9ed94a098
@ -1397,7 +1397,6 @@ void Session::generateResumeData(bool final)
|
|||||||
{
|
{
|
||||||
foreach (TorrentHandle *const torrent, m_torrents) {
|
foreach (TorrentHandle *const torrent, m_torrents) {
|
||||||
if (!torrent->isValid()) continue;
|
if (!torrent->isValid()) continue;
|
||||||
if (!torrent->hasMetadata()) continue;
|
|
||||||
if (torrent->hasMissingFiles()) continue;
|
if (torrent->hasMissingFiles()) continue;
|
||||||
if (torrent->isChecking() || torrent->hasError()) continue;
|
if (torrent->isChecking() || torrent->hasError()) continue;
|
||||||
if (!final && !torrent->needSaveResumeData()) continue;
|
if (!final && !torrent->needSaveResumeData()) continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user