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

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(); updateStatus();
adjustActualSavePath(); adjustActualSavePath();
if (progress() < 1.0) if (progress() < 1.0 && wantedSize() > 0)
m_hasSeedStatus = false; m_hasSeedStatus = false;
if (m_pauseAfterRecheck) { if (m_pauseAfterRecheck) {