BUGFIX: Fix torrent moving after completion feature

This commit is contained in:
Christophe Dumez
2010-05-01 08:14:30 +00:00
parent 1ae460bc67
commit 984e7c7c7b
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -1971,7 +1971,8 @@ 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);
TorrentPersistentData::saveSavePath(h.hash(), new_save_path); if(new_save_path != defaultTempPath)
TorrentPersistentData::saveSavePath(h.hash(), new_save_path);
emit savePathChanged(h); emit savePathChanged(h);
//h.force_recheck(); //h.force_recheck();
} }