mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Merge pull request #8767 from glassez/fix-legacy-api
Fix pauseAll/resumeAll legacy API methods. Closes #8766
This commit is contained in:
commit
b155b8609f
1 changed files with 5 additions and 1 deletions
|
@ -336,7 +336,11 @@ void WebApplication::doProcessRequest()
|
|||
scope = compatInfo.scope;
|
||||
action = compatInfo.action;
|
||||
|
||||
if (legacyAction == QLatin1String("command/delete"))
|
||||
if (legacyAction == QLatin1String("command/pauseAll"))
|
||||
m_params["hashes"] = "all";
|
||||
else if (legacyAction == QLatin1String("command/resumeAll"))
|
||||
m_params["hashes"] = "all";
|
||||
else if (legacyAction == QLatin1String("command/delete"))
|
||||
m_params["deleteFiles"] = "false";
|
||||
else if (legacyAction == QLatin1String("command/deletePerm"))
|
||||
m_params["deleteFiles"] = "true";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue