mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Delete torrent permanently from hard drive used to delete parent folder if empty (fixed)
This commit is contained in:
parent
d12e510fad
commit
e2427a4ce2
4 changed files with 4 additions and 3 deletions
|
@ -116,7 +116,7 @@ class misc : public QObject{
|
|||
}
|
||||
}
|
||||
// Remove empty folder
|
||||
if(current_dir.rmpath(path)){
|
||||
if(current_dir.rmdir(path)){
|
||||
return true;
|
||||
}else{
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue