Enable HTTP/2 for update checking and mapping updates
This commit is contained in:
parent
3485983553
commit
46940eb15a
2 changed files with 4 additions and 1 deletions
|
|
@ -39,7 +39,9 @@ void AutoUpdateChecker::start()
|
|||
|
||||
// We'll get a callback when this is finished
|
||||
QUrl url("https://moonlight-stream.org/updates/qt.json");
|
||||
m_Nam.get(QNetworkRequest(url));
|
||||
QNetworkRequest request(url);
|
||||
request.setAttribute(QNetworkRequest::Http2AllowedAttribute, true);
|
||||
m_Nam.get(request);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue