From 8c43aa777eaadeca208ffaab26abd6b1d9f45999 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Mon, 27 Apr 2020 11:18:08 +0200 Subject: QtNetwork: fix a few more char -> QChar conversions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They were masked by all QChar ctors being made explicit, except the char16_t one, which was left as the only viable choice. Change-Id: I7288e6ae32b2771859a61c0b99783209d47616bc Reviewed-by: MÃ¥rten Nordheim --- src/network/access/qnetworkcookiejar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/network/access/qnetworkcookiejar.cpp') diff --git a/src/network/access/qnetworkcookiejar.cpp b/src/network/access/qnetworkcookiejar.cpp index 0856dd2252..62225b28d1 100644 --- a/src/network/access/qnetworkcookiejar.cpp +++ b/src/network/access/qnetworkcookiejar.cpp @@ -154,12 +154,12 @@ static inline bool isParentPath(const QString &path, const QString &reference) return true; //The cookie-path is a prefix of the request-path, and the last //character of the cookie-path is %x2F ("/"). - if (reference.endsWith('/')) + if (reference.endsWith(u'/')) return true; //The cookie-path is a prefix of the request-path, and the first //character of the request-path that is not included in the cookie- //path is a %x2F ("/") character. - if (path.at(reference.length()) == '/') + if (path.at(reference.length()) == u'/') return true; } return false; -- cgit v1.2.3