diff --git a/src/covermanager/musixmatchcoverprovider.cpp b/src/covermanager/musixmatchcoverprovider.cpp index 69fe22caf..da1ce5c22 100644 --- a/src/covermanager/musixmatchcoverprovider.cpp +++ b/src/covermanager/musixmatchcoverprovider.cpp @@ -83,7 +83,7 @@ bool MusixmatchCoverProvider::StartSearch(const QString &artist, const QString & #else req.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true); #endif -#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) +#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) req.setAttribute(QNetworkRequest::Http2AllowedAttribute, false); #endif QNetworkReply *reply = network_->get(req); diff --git a/src/lyrics/musixmatchlyricsprovider.cpp b/src/lyrics/musixmatchlyricsprovider.cpp index e18811e4a..111cf21fa 100644 --- a/src/lyrics/musixmatchlyricsprovider.cpp +++ b/src/lyrics/musixmatchlyricsprovider.cpp @@ -80,7 +80,7 @@ bool MusixmatchLyricsProvider::StartSearch(const QString &artist, const QString #else req.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true); #endif -#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) +#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) req.setAttribute(QNetworkRequest::Http2AllowedAttribute, false); #endif QNetworkReply *reply = network_->get(req);