diff options
author | Andy Shaw <andy.shaw@qt.io> | 2016-03-11 21:27:32 +0100 |
---|---|---|
committer | Andy Shaw <andy.shaw@qt.io> | 2018-04-17 15:36:34 +0000 |
commit | 0b70f5ada9aa4e0a44a26f3adb910ac98de31583 (patch) | |
tree | 2de9919b9b190a67f5a5d2baf96bf548528817b2 /tests/auto/testlib | |
parent | 49b4433adf254b81f8b7727fbcf88ce2a48100ba (diff) |
QDoubleValidator: Allow intermediate values as close as possible to one considered invalid
The documentation states that if you have a range of
0.00-2.00 with the number of decimals set to 2 then
any number up to 9.99 would be considered intermediate.
This is because the number of digits still matches both before
and after the decimal point. If it is 10.0 or 9.999 then
it is still considered invalid.
In the case of 9.999 being invalid in this case, the documentation
is corrected as this was incorrectly indicated as Intermediate,
as the code indicates it as Invalid.
Change-Id: I07b433e856f355916a1240deafdf4ef58e680639
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/testlib')
0 files changed, 0 insertions, 0 deletions