From 2f287080d7ee847cffdc354477e3ea682f2f37f5 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Mon, 18 Aug 2014 23:33:31 +0000 Subject: [PATCH] DiagramView::wheelEvent limit scale for zoom out git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3286 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/diagramview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/diagramview.cpp b/sources/diagramview.cpp index 4517a9726..4e8db8a07 100644 --- a/sources/diagramview.cpp +++ b/sources/diagramview.cpp @@ -590,10 +590,10 @@ void DiagramView::wheelEvent(QWheelEvent *e) { if (e->buttons() != Qt::MidButton) { if (!(e -> modifiers() & Qt::ControlModifier)) { if (e -> delta() > 0){ - zoomIn(); + zoomInSlowly(); } else{ - zoomOut(); + zoomOutSlowly(); } } else {