From c762106e8aa054efefe4cf46c8b6c57cbcdd7d26 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Tue, 12 Jul 2016 18:07:32 +0000 Subject: [PATCH] Fix Plus and Minus buttons zoom in and out of the editor. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4571 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 42889f8f1..ddedc3fe5 100644 --- a/sources/diagramview.cpp +++ b/sources/diagramview.cpp @@ -606,10 +606,10 @@ switch(e -> key()) case Qt::Key_End: current_project->changeLastTab(); return; - case Qt::Key_Minus: + case Qt::Key_ZoomOut: zoom(0.85); return; - case Qt::Key_Plus: + case Qt::Key_ZoomIn: zoom(1.15); return; case Qt::Key_Up: