From 41bc3b3b8e44ebc1d1e6a875bfe4b4b3e1196bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Mon, 21 Nov 2022 21:14:25 +0100 Subject: [PATCH] [desktop] Accept the "+" key for zooming the map MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaime Marquínez Ferrándiz --- qt/qt_common/map_widget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/qt_common/map_widget.cpp b/qt/qt_common/map_widget.cpp index b889cabc1e..5afe534870 100644 --- a/qt/qt_common/map_widget.cpp +++ b/qt/qt_common/map_widget.cpp @@ -60,8 +60,10 @@ void MapWidget::BindHotkeys(QWidget & parent) { Hotkey const hotkeys[] = { {Qt::Key_Equal, SLOT(ScalePlus())}, + {Qt::Key_Plus, SLOT(ScalePlus())}, {Qt::Key_Minus, SLOT(ScaleMinus())}, {Qt::ALT + Qt::Key_Equal, SLOT(ScalePlusLight())}, + {Qt::ALT + Qt::Key_Plus, SLOT(ScalePlusLight())}, {Qt::ALT + Qt::Key_Minus, SLOT(ScaleMinusLight())}, #ifdef ENABLE_AA_SWITCH {Qt::ALT + Qt::Key_A, SLOT(AntialiasingOn())},