mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 05:13:30 -07:00
- Allow to delete permanently from WebUI
This commit is contained in:
parent
028041f874
commit
1544300616
5 changed files with 25 additions and 4 deletions
|
@ -224,7 +224,12 @@ void HttpConnection::respondCommand(QString command)
|
|||
}
|
||||
if(command == "delete")
|
||||
{
|
||||
emit deleteTorrent(parser.post("hash"));
|
||||
emit deleteTorrent(parser.post("hash"), false);
|
||||
return;
|
||||
}
|
||||
if(command == "deletePerm")
|
||||
{
|
||||
emit deleteTorrent(parser.post("hash"), true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue