From 22d6aa8dc313baa5c8495238da0650c7aa7caed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82?= Date: Sun, 27 Dec 2020 14:29:43 +0100 Subject: [PATCH] Fixed compilation warning on tests (#2317) QByteArray append deprecation fix --- src/common/NetworkPrivate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/NetworkPrivate.cpp b/src/common/NetworkPrivate.cpp index 347280e15..c68bc3d4a 100644 --- a/src/common/NetworkPrivate.cpp +++ b/src/common/NetworkPrivate.cpp @@ -39,7 +39,7 @@ QString NetworkData::getHash() { QByteArray bytes; - bytes.append(this->request_.url().toString()); + bytes.append(this->request_.url().toString().toUtf8()); for (const auto &header : this->request_.rawHeaderList()) {