mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-24 21:44:25 +00:00
Fix save resume data for torrents w/o metadata.
This commit is contained in:
parent
9d97c05889
commit
b9c087f46c
@ -1399,7 +1399,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