Reallow to force recheck torrents that aren't fully started

This commit is contained in:
thalieht 2019-11-09 14:21:13 +02:00
commit 21595fca9c

View file

@ -1273,17 +1273,18 @@ void TorrentHandle::forceDHTAnnounce()
void TorrentHandle::forceRecheck()
{
if (m_startupState != Started) return;
if (!hasMetadata()) return;
m_nativeHandle.force_recheck();
m_unchecked = false;
if (isPaused()) {
if ((m_startupState != Started) || isPaused()) {
m_nativeHandle.stop_when_ready(true);
m_nativeHandle.auto_managed(true);
m_pauseWhenReady = true;
}
if ((m_startupState == Started) && isPaused())
m_pauseWhenReady = true;
}
void TorrentHandle::setSequentialDownload(bool b)