diff --git a/CHANGELOG.md b/CHANGELOG.md index f7fc86957fc..92f62f1cc85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -167,6 +167,7 @@ - Dev: Qt 6.8 and later now default to the GDI fontengine. (#5710) - Dev: Moved to condition variables when shutting down worker threads. (#5721, #5733) - Dev: Reduced layouts in channel views when setting a channel. (#5737, #5748, #5757) +- Bugfix: Change default local r9k keybinding per macOS standard (#5764) ## 2.5.1 diff --git a/src/controllers/hotkeys/HotkeyController.cpp b/src/controllers/hotkeys/HotkeyController.cpp index 1aa6e7c9664..d3a594336cf 100644 --- a/src/controllers/hotkeys/HotkeyController.cpp +++ b/src/controllers/hotkeys/HotkeyController.cpp @@ -515,9 +515,15 @@ void HotkeyController::addDefaults(std::set &addedHotkeys) QKeySequence("Ctrl+G"), "reopenSplit", std::vector(), "reopen split"); +#ifdef Q_OS_MACOS + this->tryAddDefault(addedHotkeys, HotkeyCategory::Window, + QKeySequence("Ctrl+."), "toggleLocalR9K", + std::vector(), "toggle local r9k"); +#else this->tryAddDefault(addedHotkeys, HotkeyCategory::Window, QKeySequence("Ctrl+H"), "toggleLocalR9K", std::vector(), "toggle local r9k"); +#endif this->tryAddDefault(addedHotkeys, HotkeyCategory::Window, QKeySequence("Ctrl+K"), "openQuickSwitcher",