mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Fix permission problems on Windows (closes #1020227)
This commit is contained in:
@@ -433,7 +433,7 @@ void HttpConnection::respondCommand(const QString& command) {
|
||||
delete tmpfile;
|
||||
emit torrentReadyToBeDownloaded(filePath, false, QString(), false);
|
||||
// Clean up
|
||||
QFile::remove(filePath);
|
||||
fsutils::forceRemove(filePath);
|
||||
} else {
|
||||
std::cerr << "I/O Error: Could not create temporary file" << std::endl;
|
||||
delete tmpfile;
|
||||
|
||||
Reference in New Issue
Block a user