mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 13:28:50 +03:00
Never save resume data for already paused torrents
This commit is contained in:
parent
7716a27d0d
commit
2a6e38aa28
1 changed files with 1 additions and 1 deletions
|
@ -2350,7 +2350,7 @@ void Session::generateResumeData(bool final)
|
|||
{
|
||||
foreach (TorrentHandle *const torrent, m_torrents) {
|
||||
if (!torrent->isValid()) continue;
|
||||
if (torrent->isChecking()) continue;
|
||||
if (torrent->isChecking() || torrent->isPaused()) continue;
|
||||
if (!final && !torrent->needSaveResumeData()) continue;
|
||||
if (torrent->hasMissingFiles() || torrent->hasError()) continue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue