|
|
@ -1364,13 +1364,14 @@ void TorrentHandle::handleTorrentCheckedAlert(libtorrent::torrent_checked_alert |
|
|
|
qDebug("%s have just finished checking", qPrintable(hash())); |
|
|
|
qDebug("%s have just finished checking", qPrintable(hash())); |
|
|
|
|
|
|
|
|
|
|
|
updateStatus(); |
|
|
|
updateStatus(); |
|
|
|
adjustActualSavePath(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (progress() < 1.0 && wantedSize() > 0) |
|
|
|
if ((progress() < 1.0) && (wantedSize() > 0)) |
|
|
|
m_hasSeedStatus = false; |
|
|
|
m_hasSeedStatus = false; |
|
|
|
else if (progress() == 1.0) |
|
|
|
else if (progress() == 1.0) |
|
|
|
m_hasSeedStatus = true; |
|
|
|
m_hasSeedStatus = true; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
adjustActualSavePath(); |
|
|
|
|
|
|
|
|
|
|
|
if (m_pauseAfterRecheck) { |
|
|
|
if (m_pauseAfterRecheck) { |
|
|
|
m_pauseAfterRecheck = false; |
|
|
|
m_pauseAfterRecheck = false; |
|
|
|
pause(); |
|
|
|
pause(); |
|
|
@ -1696,7 +1697,7 @@ bool TorrentHandle::isMoveInProgress() const |
|
|
|
|
|
|
|
|
|
|
|
bool TorrentHandle::useTempPath() const |
|
|
|
bool TorrentHandle::useTempPath() const |
|
|
|
{ |
|
|
|
{ |
|
|
|
return !m_tempPathDisabled && m_session->isTempPathEnabled() && !isSeed(); |
|
|
|
return !m_tempPathDisabled && m_session->isTempPathEnabled() && !(isSeed() || m_hasSeedStatus); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void TorrentHandle::updateStatus() |
|
|
|
void TorrentHandle::updateStatus() |
|
|
|