From f836be67367dc18150ebe2fd58d31274a4b55b42 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 3 Nov 2007 00:19:24 +0000 Subject: [PATCH] - BUGFIX: Don't reload seeding torrents anymore (no point) --- TODO | 1 + src/bittorrent.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/TODO b/TODO index 3999662a4..0176928f6 100644 --- a/TODO +++ b/TODO @@ -63,4 +63,5 @@ rc6->rc7 changelog: - BUGFIX: Fixed a bug in children update when changing files priorities - BUGFIX: Pause/Start All now affect all tabs, not only the current one - BUGFIX: Don't reload all torrents everytime settings are saved +- BUGFIX: Don't reload seeding torrents anymore (no point) - I18N: Updated Turkish translation \ No newline at end of file diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 359f91b0f..beb367d31 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -85,11 +85,10 @@ void bittorrent::preAllocateAllFiles(bool b) { if(change) { qDebug("PreAllocateAll changed, reloading all torrents!"); preAllocateAll = b; - // Reload All Torrents - std::vector handles = s->get_torrents(); - unsigned int nbHandles = handles.size(); - for(unsigned int i=0; i