From 915e756a426ccb0ad4d4322182d1468a995b4c18 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Mon, 27 Apr 2020 11:16:52 +0200 Subject: 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 --- src/corelib/time/qtimezoneprivate_tz.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/time/qtimezoneprivate_tz.cpp') 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; -- cgit v1.2.3