From 069bd05d3787f6eda9e837d5890375e129f60971 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Mon, 15 Jun 2015 00:53:34 +0300 Subject: [PATCH] Clear missing files flag when resuming or force rechecking. Fixes issues in #2750. --- src/core/qtlibtorrent/qtorrenthandle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/qtlibtorrent/qtorrenthandle.cpp b/src/core/qtlibtorrent/qtorrenthandle.cpp index 0e40e7bce..a1cf5a350 100644 --- a/src/core/qtlibtorrent/qtorrenthandle.cpp +++ b/src/core/qtlibtorrent/qtorrenthandle.cpp @@ -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...");