summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkcookie.cpp
diff options
context:
space:
mode:
authorSona Kurazyan <[email protected]>2022-03-18 10:31:16 +0100
committerSona Kurazyan <[email protected]>2022-04-19 19:12:20 +0200
commit908e85cc85d18f56575ee040589bcd5745c62adb (patch)
treea7f28171c1465ea226018b73122f7b3e50721c18 /src/network/access/qnetworkcookie.cpp
parenta1d8b9023f499560b967965ef52af2a7de981727 (diff)
Replace uses of _qs with _s in sources and examples
Task-number: QTBUG-101408 Change-Id: I48360ba3b23965cd3d90ac243c100a0656a4cde8 Reviewed-by: Marc Mutz <[email protected]>
Diffstat (limited to 'src/network/access/qnetworkcookie.cpp')
-rw-r--r--src/network/access/qnetworkcookie.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/access/qnetworkcookie.cpp b/src/network/access/qnetworkcookie.cpp
index 3e8ceb08e32..ee85bbccb87 100644
--- a/src/network/access/qnetworkcookie.cpp
+++ b/src/network/access/qnetworkcookie.cpp
@@ -55,6 +55,8 @@
QT_BEGIN_NAMESPACE
+using namespace Qt::StringLiterals;
+
QT_IMPL_METATYPE_EXTERN(QNetworkCookie)
/*!
@@ -667,7 +669,7 @@ static QDateTime parseDateString(const QByteArray &dateString)
// hour:minute:second.ms pm
static const QRegularExpression timeRx(
- u"(\\d\\d?):(\\d\\d?)(?::(\\d\\d?)(?:\\.(\\d{1,3}))?)?(?:\\s*(am|pm))?"_qs);
+ u"(\\d\\d?):(\\d\\d?)(?::(\\d\\d?)(?:\\.(\\d{1,3}))?)?(?:\\s*(am|pm))?"_s);
int at = 0;
while (at < dateString.length()) {