mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07: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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue