Fix spacing and indentation in QTimeZone code
Petty tidy-up, just to disentangle it from other work. Pick-to: 6.8 Change-Id: Ifa7543585af35e494185be8faf637e3d48670c4b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit bb8c1b85afec82240026bd85dcc52b0734ffc25f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
12de520677
commit
bccbf1be13
@ -526,7 +526,7 @@ QString QTimeZonePrivate::localeName(qint64 atMSecsSinceEpoch, int offsetFromUtc
|
||||
// First try for an actual name:
|
||||
for (const qsizetype locInd : indices) {
|
||||
const LocaleZoneData &locData = localeZoneData[locInd];
|
||||
// After the row for the last actual locale, there's a terminal row:
|
||||
// After the row for the last actual locale, there's a terminal row:
|
||||
Q_ASSERT(std::size_t(locInd) < std::size(localeZoneData) - 1);
|
||||
const LocaleZoneData &nextData = localeZoneData[locInd + 1];
|
||||
|
||||
|
@ -152,10 +152,10 @@ public:
|
||||
static QByteArray ianaIdToWindowsId(const QByteArray &ianaId);
|
||||
static QByteArray windowsIdToDefaultIanaId(const QByteArray &windowsId);
|
||||
static QByteArray windowsIdToDefaultIanaId(const QByteArray &windowsId,
|
||||
QLocale::Territory territory);
|
||||
QLocale::Territory territory);
|
||||
static QList<QByteArray> windowsIdToIanaIds(const QByteArray &windowsId);
|
||||
static QList<QByteArray> windowsIdToIanaIds(const QByteArray &windowsId,
|
||||
QLocale::Territory territory);
|
||||
QLocale::Territory territory);
|
||||
|
||||
// returns "UTC" QString and QByteArray
|
||||
[[nodiscard]] static inline QString utcQString()
|
||||
|
Loading…
x
Reference in New Issue
Block a user