diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-01-10 20:01:38 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-01-14 00:46:43 +0100 |
commit | ce84a1bde3a1af536ebb95d2f6dd947fee248279 (patch) | |
tree | 6b130ce947e507461fb2fc44a3267c574fb63f56 /examples | |
parent | 940530ab67a8fd59130b2299fe854707207f041f (diff) |
Reduce excessive painting caused by transient scrollbars
The step logic in scrollByDelta() made scrollbar position to go
temporarily outside its min/max boundaries, and then setValue()
corrected it immediately back within its bounds. The false change
notifications caused by this position vs. value ping pong caused
plenty of unnecessary updates.
Task-number: QTBUG-30316
Change-Id: I32dd5bdb7b0c578dfc5dfa1deecceb19bb98a2b3
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions