From 55743021e8537e26c2acb7fd7f71914a64d75529 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 17 Mar 2009 17:38:41 +0000 Subject: [PATCH] - Fixed bug in new temp dir feature * Completed torrents were moved too --- src/bittorrent.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 82990afb3..5cc873210 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -918,7 +918,8 @@ void bittorrent::setDefaultTempPath(QString temppath) { for(torrentIT = torrents.begin(); torrentIT != torrents.end(); torrentIT++) { QTorrentHandle h = QTorrentHandle(*torrentIT); if(!h.is_valid()) continue; - h.move_storage(temppath); + if(!h.is_seed()) + h.move_storage(temppath); } } defaultTempPath = temppath;