summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarc Mutz <[email protected]>2025-06-05 15:22:45 +0200
committerMarc Mutz <[email protected]>2025-06-05 17:24:59 +0000
commit5053c692ade69896655aa30a1d1fc6f29bce12f8 (patch)
tree6db5cfd69a807e793796d45e4f6573c84564249d /bin
parent5f18b5256c9ce704107bfe41ba3e2c24e5c7a263 (diff)
util/normalize: parse at the 8-bit levelHEADmaster
Like so much Qt code overusing UTF-16, the old code converted each line into a QString, and then, to feed into normalizedSignature(), back into 8-bit, and then back into UTF-16 and then, when modifying, back to 8-bit. Just do everything in 8-bit. Yes, this means setFöö() will likely not work anymore when source code is encoded in UTF-8, but MOC can't store that, anyway, AFAIK, so we're not losing anything. If it becomes a problem, it's easy to fix in isValidIdentifier(). Change-Id: Ibf03032ed892c968db3db2f28c188455317d3377 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions