- 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:
Christophe Dumez 2009-11-18 12:35:55 +00:00
parent 95469756d1
commit 0bc2e9aeeb
3 changed files with 2 additions and 24 deletions

View file

@ -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