diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-12-20 12:27:49 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-01-18 12:15:12 +0000 |
commit | d6f61ca7ce11d17651555f12463ae3d7c9746e53 (patch) | |
tree | 064bab3aeeef8a0974a39ae7c3c4361693e8de20 /examples/activeqt/hierarchy/objects.cpp | |
parent | 161860855cb0852e864dae4cf28e208a6a9268e8 (diff) |
Port from <cctype> toupper() to QtMiscUtils::toAsciiUpper()
The C toupper function is locale-dependent. Given the right locale
(Türkiye, e.g.), toupper(i) is either
- İ (LATIN CAPITAL LETTER I WITH DOT ABOVE; if representable) or
- i (unchanged; if it isn't)
Both results are wrong for the use-cases at hand.
Manual conflict resolutions:
- dropped change to non-existent file moc.cpp
- fixed merge conflict in headers
Task-number: QTBUG-109235
Change-Id: Ia9726f0079c5f2625d97a341836b3d4505db6be1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Samuel Ghinet <samuel.ghinet@qt.io>
(cherry picked from commit 09b4615abcdbef7087bb9862a3e73f3bb7930768)
Diffstat (limited to 'examples/activeqt/hierarchy/objects.cpp')
0 files changed, 0 insertions, 0 deletions