mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- Fix torrent upload in Web UI (worked randomly)
This commit is contained in:
parent
a2423e97eb
commit
bb6468005d
2 changed files with 5 additions and 1 deletions
|
@ -309,6 +309,11 @@ void HttpConnection::respondCommand(QString command)
|
|||
torrent.close();
|
||||
}
|
||||
emit torrentReadyToBeDownloaded(filePath, false, QString(), false);
|
||||
// Prepare response
|
||||
generator.setStatusLine(200, "OK");
|
||||
generator.setContentTypeByExt("html");
|
||||
generator.setMessage(QString("<script type=\"text/javascript\">window.parent.hideAll();</script>"));
|
||||
write();
|
||||
return;
|
||||
}
|
||||
if(command == "resumeall") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue