mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Rename function
This commit is contained in:
@@ -35,7 +35,7 @@ void ResponseBuilder::status(const uint code, const QString &text)
|
||||
m_response.status = {code, text};
|
||||
}
|
||||
|
||||
void ResponseBuilder::header(const Header &header)
|
||||
void ResponseBuilder::setHeader(const Header &header)
|
||||
{
|
||||
m_response.headers[header.name] = header.value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user