summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2020-04-27 11:18:08 +0200
committerMarc Mutz <marc.mutz@kdab.com>2020-04-30 00:31:01 +0200
commit8c43aa777eaadeca208ffaab26abd6b1d9f45999 (patch)
tree9fc170170ce4c4d178f42637b42c0693e0dd5317 /src
parent7a8b277d5bcfd3597b6634e0402ac5f7202d9b71 (diff)
QtNetwork: fix a few more char -> QChar conversions
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 <marten.nordheim@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/network/access/qnetworkcookiejar.cpp4
1 files changed, 2 insertions, 2 deletions
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;