mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Don't forget to resume "missing files" torrent when rechecking
PR #20747.
This commit is contained in:
committed by
Vladimir Golovnev (Glassez)
parent
0bbfeeb987
commit
f86a574b9d
@@ -1519,7 +1519,17 @@ void TorrentImpl::forceRecheck()
|
|||||||
// an incorrect one during the interval until the cached state is updated in a regular way.
|
// an incorrect one during the interval until the cached state is updated in a regular way.
|
||||||
m_nativeStatus.state = lt::torrent_status::checking_resume_data;
|
m_nativeStatus.state = lt::torrent_status::checking_resume_data;
|
||||||
|
|
||||||
m_hasMissingFiles = false;
|
if (m_hasMissingFiles)
|
||||||
|
{
|
||||||
|
m_hasMissingFiles = false;
|
||||||
|
if (!isPaused())
|
||||||
|
{
|
||||||
|
setAutoManaged(m_operatingMode == TorrentOperatingMode::AutoManaged);
|
||||||
|
if (m_operatingMode == TorrentOperatingMode::Forced)
|
||||||
|
m_nativeHandle.resume();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
m_unchecked = false;
|
m_unchecked = false;
|
||||||
|
|
||||||
m_completedFiles.fill(false);
|
m_completedFiles.fill(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user