Fixed compilation warning on tests (#2317)

QByteArray append deprecation fix
This commit is contained in:
Paweł 2020-12-27 14:29:43 +01:00 committed by GitHub
parent 75b1ef06e2
commit 22d6aa8dc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ QString NetworkData::getHash()
{ {
QByteArray bytes; QByteArray bytes;
bytes.append(this->request_.url().toString()); bytes.append(this->request_.url().toString().toUtf8());
for (const auto &header : this->request_.rawHeaderList()) for (const auto &header : this->request_.rawHeaderList())
{ {