mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 22:03:27 -07:00
Clear missing files flag when resuming or force rechecking. Fixes issues in #2750.
This commit is contained in:
parent
c4f043a14d
commit
069bd05d37
1 changed files with 1 additions and 0 deletions
|
@ -533,6 +533,7 @@ void QTorrentHandle::resume(const bool force) const
|
|||
bool has_persistant_error = TorPersistent->hasError(torrent_hash);
|
||||
TorPersistent->setErrorState(torrent_hash, false);
|
||||
bool temp_path_enabled = Preferences::instance()->isTempPathEnabled();
|
||||
TorPersistent->setHasMissingFiles(torrent_hash, false);
|
||||
if (has_persistant_error && temp_path_enabled) {
|
||||
// Torrent was supposed to be seeding, checking again in final destination
|
||||
qDebug("Resuming a torrent with error...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue