1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-02 18:04:32 +00:00

Fix corner case of reseting 'm_hasSeedStatus' in 3a29d70dd553.

This commit is contained in:
sledgehammer999 2015-10-28 01:41:04 +02:00
parent 99ba8a6a53
commit 9b6122c328

View File

@ -1378,7 +1378,7 @@ void TorrentHandle::handleTorrentCheckedAlert(libtorrent::torrent_checked_alert
updateStatus();
adjustActualSavePath();
if (progress() < 1.0)
if (progress() < 1.0 && wantedSize() > 0)
m_hasSeedStatus = false;
if (m_pauseAfterRecheck) {