diff options
author | Frank Reininghaus <frank78ac@googlemail.com> | 2009-09-07 10:57:50 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-07 10:59:41 (GMT) |
commit | 807185d250fd8f5152cafdb416f28abe4438275f (patch) | |
tree | d612e4cb2dce33a67004192effd0ee291341dc5c /config.tests/x11 | |
parent | 3a275174d9a61f7f6451b1da39da82fd8286f9f7 (diff) | |
download | Qt-807185d250fd8f5152cafdb416f28abe4438275f.zip Qt-807185d250fd8f5152cafdb416f28abe4438275f.tar.gz Qt-807185d250fd8f5152cafdb416f28abe4438275f.tar.bz2 |
Fix some issues with Shift-selection in QAbstractItemView
This commit fixes some issues which occur when pressing the Shift key
while selecting items (new unit tests included):
1. The offset of the visible area is missing at one point in
QAbstractItemView::keyPressEvent, causing Shift-Arrow selection to fail
if the view is scrolled down.
2. Shift-click and Shift-Arrow selection fail after a rubberband
selection because d->pressedPosition does not correspond to a valid
QModelIndex.
The problems have been found in Dolphin:
http://bugs.kde.org/show_bug.cgi?id=163451
Merge-request: 1426
Reviewed-by: Olivier Goffart <ogoffart@trolltech.com>
Diffstat (limited to 'config.tests/x11')
0 files changed, 0 insertions, 0 deletions