diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-08-09 23:38:35 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-08-10 07:51:11 +0000 |
commit | 37b714d3e09f839553e9d4a151b44b647e39c548 (patch) | |
tree | f7363fca0a925f111fa00e16089a0bd715844c14 /src/quicktemplates2/qquickdial.cpp | |
parent | 320346d7dcc03afe4900bb496cabc6c7f885c01d (diff) |
QQuickRangeSlider: fix snapPosition()
The correct formula for calculating the "range" or "span" is to-from,
not from+(to-from), which is used in the formula for calculating value.
Task-number: QTBUG-55015
Change-Id: Ie30f7e86a10b606a59a171a4667772e446beaf39
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickdial.cpp')
0 files changed, 0 insertions, 0 deletions