diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2022-04-07 12:13:48 +0300 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-08 15:11:48 +0000 |
commit | dfbcbe4fdd8215dabf3d1b3b853ae644c6581390 (patch) | |
tree | bee5de2c741b5750e74374975e4d0d9ce3b22e90 /examples/charts/dynamicspline/dynamicspline.pro | |
parent | d92b784fbc8e26dce8b283e98c2f1382899a2176 (diff) |
Fix QChartView rubberband zoom
Rubberband flag handling was changed from using equality operator
to testFlag() when a new flag was added. This change broke the case
where both horizontal and vertical flags were specified.
Fixed the logic to account for all cases properly.
Fixes: QTBUG-102286
Change-Id: Ib19cc3a2d7852097567fe36f04ff021232d49d3c
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
(cherry picked from commit 9fd4d2f8a2a77990a78be929d0ff2be78f5720ee)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/charts/dynamicspline/dynamicspline.pro')
0 files changed, 0 insertions, 0 deletions