mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
Reload "missing files" torrent instead of re-checking
This commit is contained in:
parent
86579ca87d
commit
72970602af
1 changed files with 6 additions and 3 deletions
|
@ -1381,14 +1381,17 @@ void TorrentHandleImpl::resume(const TorrentOperatingMode mode)
|
||||||
if (hasError())
|
if (hasError())
|
||||||
m_nativeHandle.clear_error();
|
m_nativeHandle.clear_error();
|
||||||
|
|
||||||
|
m_operatingMode = mode;
|
||||||
|
|
||||||
if (m_hasMissingFiles)
|
if (m_hasMissingFiles)
|
||||||
{
|
{
|
||||||
m_hasMissingFiles = false;
|
m_hasMissingFiles = false;
|
||||||
m_nativeHandle.force_recheck();
|
m_isStopped = false;
|
||||||
|
reload();
|
||||||
|
updateStatus();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_operatingMode = mode;
|
|
||||||
|
|
||||||
if (m_isStopped)
|
if (m_isStopped)
|
||||||
{
|
{
|
||||||
// Torrent may have been temporarily resumed to perform checking files
|
// Torrent may have been temporarily resumed to perform checking files
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue