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

amends work done in pull request #6976.
This commit is contained in:
Christian Kapeller 2016-07-27 16:14:57 +02:00
parent 9ad0dcb57f
commit 81e6ef2958

View File

@ -3201,9 +3201,6 @@ void OpenGlViewPort::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);
}