mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
BUGFIX: Fix torrent moving after completion feature
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.2.7
|
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.2.7
|
||||||
- BUGFIX: Fix unicode problem in torrent moving code
|
- BUGFIX: Fix unicode problem in torrent moving code
|
||||||
- BUGFIX: Fix possible initialization problem in Web UI
|
- BUGFIX: Fix possible initialization problem in Web UI
|
||||||
|
- BUGFIX: Fix torrent moving after completion feature
|
||||||
|
|
||||||
* Sun Apr 18 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.6
|
* Sun Apr 18 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.6
|
||||||
- BUGFIX: Announce to all trackers at once
|
- BUGFIX: Announce to all trackers at once
|
||||||
|
|||||||
@@ -1971,6 +1971,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
|
|||||||
qDebug("Torrent moved from %s to %s", qPrintable(old_save_path), qPrintable(new_save_path));
|
qDebug("Torrent moved from %s to %s", qPrintable(old_save_path), qPrintable(new_save_path));
|
||||||
qDebug("Attempting to remove %s", qPrintable(old_save_path));
|
qDebug("Attempting to remove %s", qPrintable(old_save_path));
|
||||||
QDir().rmpath(old_save_path);
|
QDir().rmpath(old_save_path);
|
||||||
|
if(new_save_path != defaultTempPath)
|
||||||
TorrentPersistentData::saveSavePath(h.hash(), new_save_path);
|
TorrentPersistentData::saveSavePath(h.hash(), new_save_path);
|
||||||
emit savePathChanged(h);
|
emit savePathChanged(h);
|
||||||
//h.force_recheck();
|
//h.force_recheck();
|
||||||
|
|||||||
Reference in New Issue
Block a user