mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 06:01:33 -06:00
Code clean up
This commit is contained in:
@@ -702,7 +702,7 @@ void QBtSession::deleteTorrent(const QString &hash, bool delete_local_files) {
|
||||
misc::safeRemove(uneeded_file);
|
||||
const QString parent_folder = misc::branchPath(uneeded_file);
|
||||
qDebug("Attempt to remove parent folder (if empty): %s", qPrintable(parent_folder));
|
||||
QDir().rmpath(parent_folder);
|
||||
misc::removeEmptyFolder(parent_folder);
|
||||
}
|
||||
}
|
||||
// Remove it from torrent backup directory
|
||||
|
||||
Reference in New Issue
Block a user