mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
- Removed regular tracker scrape code since it is done automatically by libtorrent (it should not have been in GUI class anyway...)
- Moved bittorrent specific code from GUI class to bittorrent class
This commit is contained in:
@@ -104,10 +104,9 @@ bittorrent::bittorrent() : DHTEnabled(false), preAllocateAll(false), addInPause(
|
||||
bittorrent::~bittorrent() {
|
||||
qDebug("BTSession deletion");
|
||||
// Do some BT related saving
|
||||
// XXX: Done in GUI now (earlier = safer)
|
||||
/*saveDHTEntry();
|
||||
saveDHTEntry();
|
||||
saveSessionState();
|
||||
tResumeData();*/
|
||||
saveFastResumeData();
|
||||
// Disable directory scanning
|
||||
disableDirectoryScanning();
|
||||
// Delete our objects
|
||||
|
||||
Reference in New Issue
Block a user