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. 1
      src/bittorrent.cpp

1
src/bittorrent.cpp

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

Loading…
Cancel
Save