diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-01-12 14:09:42 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2010-01-12 14:40:41 (GMT) |
commit | 12e320a7a3a5ca93dd5287315571db1d1728e322 (patch) | |
tree | 37e46eba29bf7e0524900a457cb342724245c133 /src/gui/kernel/qboxlayout.h | |
parent | 4c85bf275c9d472a17cc9210aebf6eb880be740a (diff) | |
download | Qt-12e320a7a3a5ca93dd5287315571db1d1728e322.zip Qt-12e320a7a3a5ca93dd5287315571db1d1728e322.tar.gz Qt-12e320a7a3a5ca93dd5287315571db1d1728e322.tar.bz2 |
Significant digits were lost in QDoubleSpinBox range when changing precision
When setting the range, the actual value precision was lost because the min
and max were saved after being formatted to the current precison (decimals
property), thus losing information. We now keep the user original values, and
use these whenever the decimals property is changed. Auto-test included.
Reviewed-by: leo
Task-number: QTBUG-6496
Diffstat (limited to 'src/gui/kernel/qboxlayout.h')
0 files changed, 0 insertions, 0 deletions