mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-13 05:01:30 +00:00
Initialize cursor in PageView scrollbars with ArrowCursor
BUG: 334798 REVIEW: 130131
This commit is contained in:
parent
bb8c12d1eb
commit
574fad92c8
|
@ -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…
Reference in a new issue