qt6-bb10/src
Edward Welbourne 38b6cf490d Rework finding of locale data to be index-based
Instead of returning a pointer (from which we then have to infer an
index for use in calendar data access), compute the index as primary
and infer the data pointer from it. Also refer to the index as such,
rather than as an offset.

Comments advocating this wanted to dispense with the pointer entirely;
that's not an option, however, due to the system locale having its
data in a separate object, outside the array that contains all the
other locales' data.

Change-Id: I1c60e688229394003e61372dbfc6cfb11086eafa
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-11-08 12:59:49 +01:00
..
3rdparty Update third-party md4c to version 0.4.6 2020-11-03 20:36:34 +01:00
android Android: Don't use putIfAbsent as that is not available in older APIs 2020-11-02 13:06:22 +01:00
concurrent Fix typos in QtConcurrent documentation 2020-11-08 03:12:06 +01:00
corelib Rework finding of locale data to be index-based 2020-11-08 12:59:49 +01:00
dbus Doc: Prefer versioned CMake library targets 2020-11-01 15:58:13 +01:00
entrypoint Allow adding linker flags to qmake module pris 2020-11-03 00:14:04 +01:00
gui Rename QRangeCollection to QPageRanges, make it a proper value type 2020-11-08 11:49:54 +01:00
network CMake Build: Fix CMake configure with -DFEATURE_schannel=ON 2020-11-07 19:33:37 +01:00
opengl Doc: Prefer versioned CMake library targets 2020-11-01 15:58:13 +01:00
openglwidgets CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
platformsupport Mark changed regions dirty instead of bounding box of changes 2020-11-04 13:38:19 +02:00
plugins CMake: Fix iOS platform plugin not being a default plugin 2020-11-07 19:33:37 +01:00
printsupport Rename QRangeCollection to QPageRanges, make it a proper value type 2020-11-08 11:49:54 +01:00
sql Doc: Prefer versioned CMake library targets 2020-11-01 15:58:13 +01:00
testlib Fix a few qdoc warnings 2020-11-06 22:03:52 +01:00
tools moc: Handle include in enum, take 2 2020-11-03 19:36:34 +00:00
widgets Fix qstylesheetstyle clip border error 2020-11-08 10:12:17 +08:00
xml Doc: Prefer versioned CMake library targets 2020-11-01 15:58:13 +01:00
CMakeLists.txt Generalize the winmain/qtmain entry-point library 2020-10-17 12:13:00 +02:00
src.pro Generalize the winmain/qtmain entry-point library 2020-10-17 12:13:00 +02:00