highgui: window QT+OpenGL mouse wheel support, another build fix
amends work done in pull request #6976.
This commit is contained in:
parent
9ad0dcb57f
commit
81e6ef2958
@ -3201,9 +3201,6 @@ void OpenGlViewPort::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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user