]> cloud.milkyroute.net Git - dolphin.git/commit
Scroll when pressing PageUp/PageDown
authorTranter Madi <trmdi@yandex.com>
Tue, 4 Jun 2019 08:49:39 +0000 (15:49 +0700)
committerTranter Madi <trmdi@yandex.com>
Wed, 5 Jun 2019 09:40:54 +0000 (16:40 +0700)
commit038565b62f6ca6323cae2c5a23a97d66fc3dc0cd
treee87b80288e6f02dae32912709d0bb9a98c65c94c
parent0bc919bd4758a84ccc0928ff784223984ec5df88
Scroll when pressing PageUp/PageDown

Summary:
Add `PageUp/PageDown` to the `navigationPressed` variable.
Remove the `m_view->firstVisibleIndex()` and `m_view->lastVisibleIndex()` tests because sometimes it does not work correctly.

BUG: 407118

Test Plan:
Press PageUp/PageDOwn: it scrolls
Press Up/DOwn: it always scrolls

Reviewers: #dolphin, Zren, cfeck, elvisangelaccio

Reviewed By: #dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D21573
src/kitemviews/kitemlistcontroller.cpp