Initialize cursor in PageView scrollbars with ArrowCursor

BUG: 334798
REVIEW: 130131
remotes/origin/Applications/17.04
Tobias Deiminger 9 years ago committed by Albert Astals Cid
parent bb8c12d1eb
commit 574fad92c8
  1. 2
      ui/pageview.cpp

@ -400,7 +400,9 @@ PageView::PageView( QWidget *parent, Okular::Document *document )
viewport()->setMouseTracking( true );
viewport()->setAutoFillBackground( false );
// the apparently "magic" value of 20 is the same used internally in QScrollArea
verticalScrollBar()->setCursor( Qt::ArrowCursor );
verticalScrollBar()->setSingleStep( 20 );
horizontalScrollBar()->setCursor( Qt::ArrowCursor );
horizontalScrollBar()->setSingleStep( 20 );
// conntect the padding of the viewport to pixmaps requests

Loading…
Cancel
Save