From 2d0713ca1de111b1528d9bf9b05b58799a96a935 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 26 Jul 2010 08:58:12 +0000 Subject: [PATCH] Should finally fix permissions issues on Windows --- src/bittorrent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 1395b74a4..101162f98 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -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