mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Reload "missing files" torrent instead of re-checking
This commit is contained in:
committed by
sledgehammer999
parent
86579ca87d
commit
72970602af
@@ -1381,14 +1381,17 @@ void TorrentHandleImpl::resume(const TorrentOperatingMode mode)
|
||||
if (hasError())
|
||||
m_nativeHandle.clear_error();
|
||||
|
||||
m_operatingMode = mode;
|
||||
|
||||
if (m_hasMissingFiles)
|
||||
{
|
||||
m_hasMissingFiles = false;
|
||||
m_nativeHandle.force_recheck();
|
||||
m_isStopped = false;
|
||||
reload();
|
||||
updateStatus();
|
||||
return;
|
||||
}
|
||||
|
||||
m_operatingMode = mode;
|
||||
|
||||
if (m_isStopped)
|
||||
{
|
||||
// Torrent may have been temporarily resumed to perform checking files
|
||||
|
||||
Reference in New Issue
Block a user