|
|
|
|
@ -2390,10 +2390,6 @@ void PageView::mouseReleaseEvent(QMouseEvent *e) |
|
|
|
|
case Okular::Settings::EnumMouseMode::Browse: { |
|
|
|
|
d->scroller->handleInput(QScroller::InputRelease, e->pos() + d->mouseGrabOffset, e->timestamp()); |
|
|
|
|
|
|
|
|
|
// disable flick if the cursor has wrapped around
|
|
|
|
|
if (d->mouseGrabOffset != QPoint(0, 0)) |
|
|
|
|
d->scroller->stop(); |
|
|
|
|
|
|
|
|
|
// return the cursor to its normal state after dragging
|
|
|
|
|
if (cursor().shape() == Qt::ClosedHandCursor) |
|
|
|
|
updateCursor(eventPos); |
|
|
|
|
|