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

Fix save resume data for torrents w/o metadata.

This commit is contained in:
Vladimir Golovnev (Glassez) 2015-06-24 18:49:55 +03:00
parent 9d97c05889
commit b9c087f46c

View File

@ -1399,7 +1399,6 @@ void Session::generateResumeData(bool final)
{
foreach (TorrentHandle *const torrent, m_torrents) {
if (!torrent->isValid()) continue;
if (!torrent->hasMetadata()) continue;
if (torrent->hasMissingFiles()) continue;
if (torrent->isChecking() || torrent->hasError()) continue;
if (!final && !torrent->needSaveResumeData()) continue;