mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Should finally fix permissions issues on Windows
This commit is contained in:
@@ -750,7 +750,7 @@ void Bittorrent::deleteTorrent(QString hash, bool delete_local_files) {
|
|||||||
filters << hash+".*";
|
filters << hash+".*";
|
||||||
const QStringList files = torrentBackup.entryList(filters, QDir::Files, QDir::Unsorted);
|
const QStringList files = torrentBackup.entryList(filters, QDir::Files, QDir::Unsorted);
|
||||||
foreach(const QString &file, files) {
|
foreach(const QString &file, files) {
|
||||||
torrentBackup.remove(file);
|
misc::safeRemove(torrentBackup.absoluteFilePath(file));
|
||||||
}
|
}
|
||||||
TorrentPersistentData::deletePersistentData(hash);
|
TorrentPersistentData::deletePersistentData(hash);
|
||||||
// Remove tracker errors
|
// Remove tracker errors
|
||||||
|
|||||||
Reference in New Issue
Block a user