highgui: window QT+OpenGL mouse wheel support, build fix

This commit is contained in:
Alexandr Kondratev 2016-07-23 18:06:46 +03:00
parent ecfabd7aac
commit d394d26b46

View File

@ -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);
}