From 81e6ef295872ffe4ad371f149d3a74cd2d2de191 Mon Sep 17 00:00:00 2001 From: Christian Kapeller Date: Wed, 27 Jul 2016 16:14:57 +0200 Subject: [PATCH] highgui: window QT+OpenGL mouse wheel support, another build fix amends work done in pull request #6976. --- modules/highgui/src/window_QT.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/highgui/src/window_QT.cpp b/modules/highgui/src/window_QT.cpp index f0b06578f..7388a44b8 100644 --- a/modules/highgui/src/window_QT.cpp +++ b/modules/highgui/src/window_QT.cpp @@ -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); }