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
|
|
@ -29,6 +29,7 @@ void MappingFetcher::start()
|
|||
|
||||
QUrl url("https://moonlight-stream.org/SDL_GameControllerDB/gamecontrollerdb.txt");
|
||||
QNetworkRequest request(url);
|
||||
request.setAttribute(QNetworkRequest::Http2AllowedAttribute, true);
|
||||
|
||||
// Only download the file if it's newer than what we have
|
||||
QFileInfo existingFileInfo = Path::getCacheFileInfo("gamecontrollerdb.txt");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue