git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3536 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2014-12-07 16:43:31 +00:00
parent 4de19d8ae4
commit af5563c760

View File

@@ -412,12 +412,6 @@ bool ElementView::gestures() const {
*/
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();