Commit 574fad92 authored by Tobias Deiminger's avatar Tobias Deiminger Committed by Albert Astals Cid

Initialize cursor in PageView scrollbars with ArrowCursor

BUG: 334798
REVIEW: 130131
parent bb8c12d1
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment