mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-25 22:14:32 +00:00
- Do not save fastresume data for checking torrents anymore
This commit is contained in:
parent
3ef0c82a8c
commit
f3f3f2822b
@ -845,7 +845,7 @@ void bittorrent::saveFastResumeAndRatioData() {
|
|||||||
}
|
}
|
||||||
QString hash = h.hash();
|
QString hash = h.hash();
|
||||||
// Extracting resume data
|
// Extracting resume data
|
||||||
if (h.has_metadata()) {
|
if (h.has_metadata() && h.state() != torrent_status::checking_files && h.state() != torrent_status::queued_for_checking) {
|
||||||
if(QFile::exists(torrentBackup.path()+QDir::separator()+hash+".torrent")) {
|
if(QFile::exists(torrentBackup.path()+QDir::separator()+hash+".torrent")) {
|
||||||
// Remove old .fastresume data in case it exists
|
// Remove old .fastresume data in case it exists
|
||||||
QFile::remove(torrentBackup.path()+QDir::separator()+hash + ".fastresume");
|
QFile::remove(torrentBackup.path()+QDir::separator()+hash + ".fastresume");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user