mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-13 09:07:04 +01:00
Disable http2 for musixmatch
This commit is contained in:
parent
1444a1578a
commit
a5ab8ddf8b
@ -83,6 +83,7 @@ bool MusixmatchCoverProvider::StartSearch(const QString &artist, const QString &
|
||||
#else
|
||||
req.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);
|
||||
#endif
|
||||
req.setAttribute(QNetworkRequest::Http2AllowedAttribute, false);
|
||||
QNetworkReply *reply = network_->get(req);
|
||||
replies_ << reply;
|
||||
connect(reply, &QNetworkReply::finished, [=] { HandleSearchReply(reply, id, artist, album); });
|
||||
|
@ -80,6 +80,7 @@ bool MusixmatchLyricsProvider::StartSearch(const QString &artist, const QString
|
||||
#else
|
||||
req.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);
|
||||
#endif
|
||||
req.setAttribute(QNetworkRequest::Http2AllowedAttribute, false);
|
||||
QNetworkReply *reply = network_->get(req);
|
||||
replies_ << reply;
|
||||
connect(reply, &QNetworkReply::finished, [=] { HandleSearchReply(reply, id, artist, album, title); });
|
||||
|
Loading…
Reference in New Issue
Block a user