Use colemak keys

wilder
Jacopo De Simoi 3 years ago
parent 0e7ef06f98
commit 677ce7a771
  1. 4
      part/pageview.cpp

@ -2086,7 +2086,7 @@ void PageView::keyPressEvent(QKeyEvent *e)
slotScrollDown(); slotScrollDown();
break; break;
case Qt::Key_I: case Qt::Key_U:
case Qt::Key_Up: case Qt::Key_Up:
slotScrollUp( 3 /* go up 1 step */ ); slotScrollUp( 3 /* go up 1 step */ );
break; break;
@ -2107,7 +2107,7 @@ void PageView::keyPressEvent(QKeyEvent *e)
} }
break; break;
case Qt::Key_Right: case Qt::Key_Right:
case Qt::Key_L: case Qt::Key_I:
if (horizontalScrollBar()->maximum() == 0) { if (horizontalScrollBar()->maximum() == 0) {
// if we cannot scroll we advance the page vertically // if we cannot scroll we advance the page vertically
int next_page = d->document->currentPage() + viewColumns(); int next_page = d->document->currentPage() + viewColumns();

Loading…
Cancel
Save