Browse Source

Fix moving torrent from temp dir when they are complete

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
c800a0a6b5
  1. 1
      src/bittorrent.cpp

1
src/bittorrent.cpp

@ -1956,6 +1956,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) { @@ -1956,6 +1956,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
qDebug("Torrent moved from %s to %s", qPrintable(old_save_path), qPrintable(new_save_path));
qDebug("Attempting to remove %s", qPrintable(old_save_path));
QDir().rmpath(old_save_path);
if(new_save_path != defaultTempPath)
TorrentPersistentData::saveSavePath(h.hash(), new_save_path);
emit savePathChanged(h);
//h.force_recheck();

Loading…
Cancel
Save