mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
- Fixed bug in new temp dir feature
* Completed torrents were moved too
This commit is contained in:
parent
a8d627e1df
commit
55743021e8
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue