- Torrent downloading is now handled by search engine plugins to allow for more flexibility

This commit is contained in:
Christophe Dumez 2009-03-27 22:11:41 +00:00
commit c2244f746e
17 changed files with 182 additions and 25 deletions

View file

@ -910,6 +910,7 @@ void bittorrent::setDefaultTempPath(QString temppath) {
for(torrentIT = torrents.begin(); torrentIT != torrents.end(); torrentIT++) {
QTorrentHandle h = QTorrentHandle(*torrentIT);
if(!h.is_valid()) continue;
std::cout << "Moving storage for " << h.hash().toUtf8().data() << ", from " << h.save_path().toUtf8().data() << " to " << getSavePath(h.hash()).toUtf8().data() << std::endl;
h.move_storage(getSavePath(h.hash()));
}
} else {