Merge pull request #6976 from theg4sh:linux-window-mouse-wheel-support

This commit is contained in:
Alexander Alekhin 2016-07-24 10:11:39 +00:00
commit 941090861e

View File

@ -2637,9 +2637,6 @@ void DefaultViewPort::wheelEvent(QWheelEvent* evnt)
icvmouseHandler((QMouseEvent*)evnt, mouse_wheel, cv_event, flags); icvmouseHandler((QMouseEvent*)evnt, mouse_wheel, cv_event, flags);
icvmouseProcessing(QPointF(pt), cv_event, flags); icvmouseProcessing(QPointF(pt), cv_event, flags);
scaleView(delta / 240.0, pt);
viewport()->update();
QWidget::wheelEvent(evnt); QWidget::wheelEvent(evnt);
} }