1
0
Fork 0

Don't use Qt wheel scrolling

This commit is contained in:
torusrxxx 2018-10-13 21:02:54 +08:00
parent 64db2ce66b
commit 9d585036b9
No known key found for this signature in database
GPG Key ID: A795C73A0F1CFADD
1 changed files with 1 additions and 1 deletions

View File

@ -582,6 +582,7 @@ void AbstractTableView::mouseDoubleClickEvent(QMouseEvent* event)
*
* @return Nothing.
*/
void AbstractTableView::wheelEvent(QWheelEvent* event)
{
int numDegrees = event->delta() / 8;
@ -603,7 +604,6 @@ void AbstractTableView::wheelEvent(QWheelEvent* event)
else // -1 : one screen at a time
verticalScrollBar()->triggerAction(QAbstractSlider::SliderPageStepAdd);
}
QAbstractScrollArea::wheelEvent(event);
}