highgui: window QT+OpenGL mouse wheel support, build fix
This commit is contained in:
parent
ecfabd7aac
commit
d394d26b46
@ -2637,9 +2637,6 @@ void DefaultViewPort::wheelEvent(QWheelEvent* evnt)
|
||||
icvmouseHandler((QMouseEvent*)evnt, mouse_wheel, cv_event, flags);
|
||||
icvmouseProcessing(QPointF(pt), cv_event, flags);
|
||||
|
||||
scaleView(delta / 240.0, pt);
|
||||
viewport()->update();
|
||||
|
||||
QWidget::wheelEvent(evnt);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user