From d394d26b46ba6d995e9291492bb6d94da78c0be5 Mon Sep 17 00:00:00 2001 From: Alexandr Kondratev Date: Sat, 23 Jul 2016 18:06:46 +0300 Subject: [PATCH] highgui: window QT+OpenGL mouse wheel support, build fix --- 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 76900388f..f0b06578f 100644 --- a/modules/highgui/src/window_QT.cpp +++ b/modules/highgui/src/window_QT.cpp @@ -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); }