Qt5Compat: Adapt to restructuring of QUnicodeTables

case conversions are now separate from other properties.

See commit 763f19151cc31ca1ba4912e0828359be5dba89e8 in qtbase.

Pick-to: 6.10 6.8 6.5
Change-Id: I25c76db743d6c7093a9dbda3cb9c93c5c3576935
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
This commit is contained in:
Assam Boudjelthia 2025-10-29 12:04:17 +02:00
parent 9c8f8f9fd5
commit 6d88d076ad
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ namespace QCharPrivate
template<typename T>
Q_DECL_CONST_FUNCTION static inline T convertCase_helper(T uc, QUnicodeTables::Case which) noexcept
{
const auto fold = QUnicodeTables::properties(uc)->cases[which];
const auto fold = QUnicodeTables::caseConversion(uc)[which];
if (Q_UNLIKELY(fold.special)) {
const ushort *specialCase = QUnicodeTablesPrivate::specialCaseMap + fold.diff;