--- a/src/player/CodecsComponent.cpp 2019-12-10 20:22:36.000000000 +0300 +++ b/src/player/CodecsComponent.cpp 2019-12-25 18:13:48.973701844 +0300 @@ -683,9 +683,9 @@ Downloader::HeaderList headers; QString auth = SystemComponent::Get().authenticationToken(); if (auth.size()) - headers.append({"X-Plex-Token", auth}); - headers.append({"X-Plex-Product", WITH_CODECS ? "Plex Media Player" : "openpmp"}); - headers.append({"X-Plex-Platform", "Konvergo"}); + headers.append(qMakePair("X-Plex-Token", auth)); + headers.append(qMakePair("X-Plex-Product", WITH_CODECS ? "Plex Media Player" : "openpmp")); + headers.append(qMakePair("X-Plex-Platform", "Konvergo")); return headers; }