Browse Source

- Fixed bug in new temp dir feature

* Completed torrents were moved too
adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
55743021e8
  1. 3
      src/bittorrent.cpp

3
src/bittorrent.cpp

@ -918,7 +918,8 @@ void bittorrent::setDefaultTempPath(QString temppath) {
for(torrentIT = torrents.begin(); torrentIT != torrents.end(); torrentIT++) { for(torrentIT = torrents.begin(); torrentIT != torrents.end(); torrentIT++) {
QTorrentHandle h = QTorrentHandle(*torrentIT); QTorrentHandle h = QTorrentHandle(*torrentIT);
if(!h.is_valid()) continue; if(!h.is_valid()) continue;
h.move_storage(temppath); if(!h.is_seed())
h.move_storage(temppath);
} }
} }
defaultTempPath = temppath; defaultTempPath = temppath;

Loading…
Cancel
Save