diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2012-09-20 09:28:58 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-24 18:59:05 (GMT) |
commit | 85e95859047d2c198e495cd4cb6a4352df76e6d4 (patch) | |
tree | 67d52811bf1814fdf5ae8134d8f1934b95125d38 /src/tools/moc | |
parent | cd05f1bd4b6bae38afcf8c14cd3bd45c3cdf0963 (diff) | |
download | Qt-85e95859047d2c198e495cd4cb6a4352df76e6d4.zip Qt-85e95859047d2c198e495cd4cb6a4352df76e6d4.tar.gz Qt-85e95859047d2c198e495cd4cb6a4352df76e6d4.tar.bz2 |
Fix hover handling in QTreeView
Cached hoverBranch could get invalid if branches were collapsed or
expanded programmatically, leading to a crash in some situations.
Fixed the logic for updating hovered over branch indicators and
also now update hoverBranch when drawing so that it is guaranteed to be
up to date there - this fixes issues like hover indicator not updating
when the view is programmatically scrolled.
Task-number: QTBUG-27158
Change-Id: I5bd1ad76aee512ad78df33959a84ead16886a47c
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
(cherry picked from qt5/qtbase commit fd6a870136ab2fdb3ce8b516abcf8c05d45caba7))
Diffstat (limited to 'src/tools/moc')
0 files changed, 0 insertions, 0 deletions