diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-11-17 17:31:32 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2009-11-18 14:19:59 (GMT) |
commit | e15accd154c40bcf26dcb5209431974ad2617a73 (patch) | |
tree | 9e2d29d8a191a37e1748deeb46388b52718f676f /config.tests/unix/clock-gettime | |
parent | b099c4c07f3747fefff3d7457b4ae817225ca9ae (diff) | |
download | Qt-e15accd154c40bcf26dcb5209431974ad2617a73.zip Qt-e15accd154c40bcf26dcb5209431974ad2617a73.tar.gz Qt-e15accd154c40bcf26dcb5209431974ad2617a73.tar.bz2 |
QListView: fixes skipping one item in pageDown(Up)
The previous implementation was scrolling down (number of visible items
in viewport) + 1 and this was leading to one item being skipped while doing
page down (the same also happened for page up). Now we are scrolling (number
of visible items in viewport) - 1 for each page down(up) (the '-1' is for
keeping the context, so the last item will turn into the first in case of
a page down, for example).
Task-number: QTBUG-5877
Reviewed-by: thierry
Diffstat (limited to 'config.tests/unix/clock-gettime')
0 files changed, 0 insertions, 0 deletions