summaryrefslogtreecommitdiffstats
path: root/src/corelib/time/qtimezoneprivate_tz.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2020-04-27 11:16:52 +0200
committerMarc Mutz <marc.mutz@kdab.com>2020-04-30 07:49:43 +0200
commit915e756a426ccb0ad4d4322182d1468a995b4c18 (patch)
treeb75f92d9289bd8516760cdc5cae4196b7cb87cdb /src/corelib/time/qtimezoneprivate_tz.cpp
parent2e41a466903852facc3f3f0100d04149b72b2409 (diff)
QtCore: fix a few more char/int/uint -> 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: I5632795f3c7dd1de3830285d5446d9b994613466 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/time/qtimezoneprivate_tz.cpp')
-rw-r--r--src/corelib/time/qtimezoneprivate_tz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/time/qtimezoneprivate_tz.cpp b/src/corelib/time/qtimezoneprivate_tz.cpp
index 01f9a6cce0..d40f4612d5 100644
--- a/src/corelib/time/qtimezoneprivate_tz.cpp
+++ b/src/corelib/time/qtimezoneprivate_tz.cpp
@@ -91,7 +91,7 @@ static QTzTimeZoneHash loadTzTimeZones()
while (!ts.atEnd()) {
const QString line = ts.readLine();
// Comment lines are prefixed with a #
- if (!line.isEmpty() && line.at(0) != '#') {
+ if (!line.isEmpty() && line.at(0) != u'#') {
// Data rows are tab-separated columns Region, Coordinates, ID, Optional Comments
const auto parts = line.splitRef(QLatin1Char('\t'));
QTzTimeZone zone;