diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2023-01-10 20:53:24 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-01-31 23:56:13 +0200 |
commit | cebc6b83bfe4e39af9c3dea522847a7396d7db92 (patch) | |
tree | bc6980bd13aa20ff8ddefe87526f7b31f6424803 /tests/manual/inputmethodhints | |
parent | 5353afd7a81169095c0fc57fe18d4da44eed7f92 (diff) |
QDateTime: refactor readInt()
QStringView::toULongLong() only works with US-ASCII, so:
- Always convert the text to parse to Latin1
- Use qstrntoull and make ParsedInt a typedef of
QSimpleParsedNumber<qulonglong>
The QStringView overload delegates to the QL1SV after converting the
string to latin1.
Change-Id: Iff7ac2c0afe6a180ca1b46a09ef0750e9b882c4d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/manual/inputmethodhints')
0 files changed, 0 insertions, 0 deletions