Commit f62549bd authored by David Faure's avatar David Faure
Browse files

Merge remote-tracking branch 'origin/release/19.12'

parents 607954f3 27309d41
......@@ -467,12 +467,8 @@ QSize KigWidget::sizeHint() const
void KigWidget::wheelEvent( QWheelEvent* e )
{
int delta = e->angleDelta().y();
Qt::Orientation orient = e->orientation();
if ( orient == Qt::Vertical )
mview->scrollVertical( delta );
else
mview->scrollHorizontal( delta );
mview->scrollVertical( e->angleDelta().y() );
mview->scrollHorizontal( e->angleDelta().x() );
}
void KigView::scrollHorizontal( int delta )
......
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