From 13546166b32f539a3733f5897d9d18eb54a92c50 Mon Sep 17 00:00:00 2001 From: Yida Lin Date: Wed, 30 Aug 2017 01:46:10 -0400 Subject: [PATCH] Add Alt key as well --- src/gui_impl/dialogs/hotkey_dialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui_impl/dialogs/hotkey_dialog.cpp b/src/gui_impl/dialogs/hotkey_dialog.cpp index 718766c1..a8a30ea1 100644 --- a/src/gui_impl/dialogs/hotkey_dialog.cpp +++ b/src/gui_impl/dialogs/hotkey_dialog.cpp @@ -16,8 +16,10 @@ HotkeyDialog::HotkeyDialog(QWidget *parent) : #if defined(Q_OS_MACOS) QString ctrl = "Cmd"; + QString alt = "Option"; #else QString ctrl = "Ctrl"; + QString alt = "Alt"; #endif QStringList actionDescriptions; @@ -47,8 +49,8 @@ HotkeyDialog::HotkeyDialog(QWidget *parent) : << ctrl + "+E" << ctrl + "+O" << ctrl + "+A" - << "Alt++" - << "Alt+-" + << alt + "++" + << alt + "+-" << ctrl + "++" << ctrl + "+-" << ctrl + "+1"