mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-13 05:41:17 +00:00
Should finally fix permissions issues on Windows
This commit is contained in:
parent
afaca423cc
commit
2d0713ca1d
@ -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…
x
Reference in New Issue
Block a user