mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 03:39:39 +03:00
- Removed some debug
This commit is contained in:
parent
53a0e85b8d
commit
0538c9c3e8
1 changed files with 0 additions and 3 deletions
|
@ -1323,16 +1323,13 @@ void bittorrent::saveFastResumeData() {
|
|||
"torrents to save resume data for" << std::endl;
|
||||
break;
|
||||
}
|
||||
qDebug("Received an alert...");
|
||||
save_resume_data_alert const* rd = dynamic_cast<save_resume_data_alert const*>(a);
|
||||
if (!rd) {
|
||||
s->pop_alert();
|
||||
continue;
|
||||
}
|
||||
qDebug("Alert is for resume data");
|
||||
--num_resume_data;
|
||||
if (!rd->resume_data) continue;
|
||||
qDebug("saving resume data: %d", num_resume_data);
|
||||
QDir torrentBackup(misc::qBittorrentPath() + "BT_backup");
|
||||
QTorrentHandle h(rd->handle);
|
||||
QFile::remove(torrentBackup.path()+QDir::separator()+ h.hash() + ".fastresume");
|
||||
|
|
Loading…
Reference in a new issue