Save updated resume data for completed torrents

If fastresume data was rejected we need to save updated
resume data after torrent finishes rechecking.
This commit is contained in:
Vladimir Golovnev (Glassez) 2019-07-22 14:29:14 +03:00
commit 3d70ebfc46
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7
4 changed files with 9 additions and 3 deletions

View file

@ -427,7 +427,7 @@ namespace BitTorrent
void bottomTorrentsQueuePos(const QStringList &hashes);
// TorrentHandle interface
void handleTorrentSaveResumeDataRequested(TorrentHandle *const torrent);
void handleTorrentSaveResumeDataRequested(const TorrentHandle *torrent);
void handleTorrentShareLimitChanged(TorrentHandle *const torrent);
void handleTorrentNameChanged(TorrentHandle *const torrent);
void handleTorrentSavePathChanged(TorrentHandle *const torrent);