[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3536
Author: scorpio810
Date: 2014-12-07 17:43:31 +0100 (Sun, 07 Dec 2014)
Log Message:
-----------
Minor
Modified Paths:
--------------
trunk/sources/editor/elementview.cpp
Modified: trunk/sources/editor/elementview.cpp
===================================================================
--- trunk/sources/editor/elementview.cpp 2014-12-07 16:32:14 UTC (rev 3535)
+++ trunk/sources/editor/elementview.cpp 2014-12-07 16:43:31 UTC (rev 3536)
@@ -412,12 +412,6 @@
*/
void ElementView::wheelEvent(QWheelEvent *e) {
//Zoom and scrolling
-// if (e -> buttons() != Qt::MidButton) {
-// if (!(e -> modifiers() & Qt::ControlModifier))
-// e -> delta() > 0 ? zoomIn() : zoomOut();
-// else
-// QAbstractScrollArea::wheelEvent(e);
-// }
if ( gestures() ) {
if (e -> modifiers() & Qt::ControlModifier)
e -> delta() > 0 ? zoomInSlowly() : zoomOutSlowly();