From 0485c170521f07bd6baed3d5c9cb35b5ee76af87 Mon Sep 17 00:00:00 2001 From: adv Date: Tue, 3 Jul 2012 09:47:54 +0000 Subject: [PATCH] Wheel scaling for cells is suppressed and default behavior of QAbstractScrollArea is kept. --- src/GraphicsView/GraphicsView_Scene.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GraphicsView/GraphicsView_Scene.cxx b/src/GraphicsView/GraphicsView_Scene.cxx index 39fe05733..c314c16ca 100644 --- a/src/GraphicsView/GraphicsView_Scene.cxx +++ b/src/GraphicsView/GraphicsView_Scene.cxx @@ -143,7 +143,7 @@ void GraphicsView_Scene::wheelEvent( QGraphicsSceneWheelEvent* e ) // accept the event to prevent calling QAbstractScrollArea::wheelEvent() // from QGraphicsView::wheelEvent(), which will change values of scroll-bars - e->accept(); + // e->accept(); //QGraphicsScene::wheelEvent( e ); // don't uncomment } -- 2.39.2