Make presentation widget wheel behave the same that when on scrollview, down next page, up previous page

BUG: 101519

svn path=/trunk/kdegraphics/kpdf/; revision=397655
remotes/origin/kpdf-kde4
Albert Astals Cid 21 years ago
parent b26936a4a3
commit a8e70b4374
  1. 4
      ui/presentationwidget.cpp

@ -194,14 +194,14 @@ void PresentationWidget::wheelEvent( QWheelEvent * e )
if ( div > 3 )
div = 3;
while ( div-- )
slotNextPage();
slotPrevPage();
}
else if ( div < 0 )
{
if ( div < -3 )
div = -3;
while ( div++ )
slotPrevPage();
slotNextPage();
}
}

Loading…
Cancel
Save