- Allow to delete permanently from WebUI

This commit is contained in:
Christophe Dumez 2008-12-28 21:12:49 +00:00
commit 1544300616
5 changed files with 25 additions and 4 deletions

View file

@ -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;
}
}