diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2025-10-06 17:48:43 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2025-10-08 16:00:36 +0200 |
| commit | 53566b589768102a33d1ccf074af1b13f7bea4b7 (patch) | |
| tree | 40b326442fc35c495e07ff5b256465cd49bc971b /tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp | |
| parent | 95ed95f548cc27edbe063ffb3e3c1d4c1ecb53e9 (diff) | |
Be explicit about type-conversion for QString::args()
Passing a quint32_le depended on a type conversion that might not be
obvious to the reader. That's going to stop working when
QString::arg() gets finnickier about which overloads get coerced to
integral types, to avoid problems with types that convert fo
floating-point but aren't recognised by the compiler *as*
floating-point, so were otherwise being cast via integral types and
losing precision.
Pick-to: 6.10
Task-number: QTBUG-138471
Change-Id: I9b4df08159502c9109fa8489b2290e213bcff2b8
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlcppcodegen/tst_qmlcppcodegen.cpp')
0 files changed, 0 insertions, 0 deletions
