From: adv Date: Tue, 3 Jul 2012 09:47:54 +0000 (+0000) Subject: Wheel scaling for cells is suppressed and default behavior of QAbstractScrollArea... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0485c170521f07bd6baed3d5c9cb35b5ee76af87;p=modules%2Fgui.git Wheel scaling for cells is suppressed and default behavior of QAbstractScrollArea is kept. --- 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 }