mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 01:22:31 -06:00
Clear missing files flag when resuming or force rechecking. Fixes issues in #2750.
This commit is contained in:
@@ -533,6 +533,7 @@ void QTorrentHandle::resume(const bool force) const
|
|||||||
bool has_persistant_error = TorPersistent->hasError(torrent_hash);
|
bool has_persistant_error = TorPersistent->hasError(torrent_hash);
|
||||||
TorPersistent->setErrorState(torrent_hash, false);
|
TorPersistent->setErrorState(torrent_hash, false);
|
||||||
bool temp_path_enabled = Preferences::instance()->isTempPathEnabled();
|
bool temp_path_enabled = Preferences::instance()->isTempPathEnabled();
|
||||||
|
TorPersistent->setHasMissingFiles(torrent_hash, false);
|
||||||
if (has_persistant_error && temp_path_enabled) {
|
if (has_persistant_error && temp_path_enabled) {
|
||||||
// Torrent was supposed to be seeding, checking again in final destination
|
// Torrent was supposed to be seeding, checking again in final destination
|
||||||
qDebug("Resuming a torrent with error...");
|
qDebug("Resuming a torrent with error...");
|
||||||
|
|||||||
Reference in New Issue
Block a user