[qet] [3288] Refresh diagramview |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3288
Author: scorpio810
Date: 2014-08-19 18:06:28 +0200 (Tue, 19 Aug 2014)
Log Message:
-----------
Refresh diagramview
Modified Paths:
--------------
trunk/sources/diagramview.cpp
Modified: trunk/sources/diagramview.cpp
===================================================================
--- trunk/sources/diagramview.cpp 2014-08-19 11:29:47 UTC (rev 3287)
+++ trunk/sources/diagramview.cpp 2014-08-19 16:06:28 UTC (rev 3288)
@@ -588,8 +588,7 @@
QAbstractScrollArea::wheelEvent(e);
}
#else
- if (e->buttons() != Qt::MidButton) {
- if (!(e -> modifiers() & Qt::ControlModifier)) {
+ if (!(e -> modifiers() & Qt::ControlModifier)) {
if (e -> delta() > 0){
zoomInSlowly();
}
@@ -601,7 +600,6 @@
QAbstractScrollArea::wheelEvent(e);
}
}
- }
#endif
}