qt5base-lts/tests/auto/gui/util
Edward Welbourne a79de46ac5 Don't skip QDoubleConverter's digit-count check for non-whole bound
Using convertDoubleTo() to get a whole number, from which to determine
the number of digits we're allowed before the fractional part, fails
if the double isn't a whole number, which lead to the skip being
checked. Use qFloor() of the double (as this should have as many
digits as the double had before its decimal point, which is what we
care about; qCeil() might round up to a power of ten).

This amends commit ff6d2cb0d5

Fixes: QTBUG-105341
Pick-to: 6.4 6.3 6.2
Change-Id: I4e0105d4602682c59e9830ec9a37556c96db884e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-08-08 19:38:40 +02:00
..
qdesktopservices Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qdoublevalidator Don't skip QDoubleConverter's digit-count check for non-whole bound 2022-08-08 19:38:40 +02:00
qintvalidator Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qregularexpressionvalidator Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qtexturefilereader Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qundogroup Add license headers to cmake files 2022-08-03 17:14:55 +02:00
qundostack Add license headers to cmake files 2022-08-03 17:14:55 +02:00
CMakeLists.txt Add license headers to cmake files 2022-08-03 17:14:55 +02:00