From 574fad92c8bed04e8b0c0fcbb84a9ecbd8cf685b Mon Sep 17 00:00:00 2001 From: Tobias Deiminger Date: Sun, 21 May 2017 23:36:20 +0200 Subject: [PATCH] Initialize cursor in PageView scrollbars with ArrowCursor BUG: 334798 REVIEW: 130131 --- ui/pageview.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/pageview.cpp b/ui/pageview.cpp index 28cf77df9..acacfb904 100644 --- a/ui/pageview.cpp +++ b/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