Browse Source

Should finally fix permissions issues on Windows

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

2
src/bittorrent.cpp

@ -750,7 +750,7 @@ void Bittorrent::deleteTorrent(QString hash, bool delete_local_files) { @@ -750,7 +750,7 @@ void Bittorrent::deleteTorrent(QString hash, bool delete_local_files) {
filters << hash+".*";
const QStringList files = torrentBackup.entryList(filters, QDir::Files, QDir::Unsorted);
foreach(const QString &file, files) {
torrentBackup.remove(file);
misc::safeRemove(torrentBackup.absoluteFilePath(file));
}
TorrentPersistentData::deletePersistentData(hash);
// Remove tracker errors

Loading…
Cancel
Save