From 7ad396a0448abc7b6861c0a9ca80b9902d365bc9 Mon Sep 17 00:00:00 2001 From: empyreal one Date: Sun, 29 Aug 2021 18:12:22 +0000 Subject: Add Ctrl+Alt+Comma shortcut for "Configure Keyboard Shortcuts" BUG: 441537 FIXED-IN: 5.86 --- src/gui/kstandardshortcut.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/kstandardshortcut.cpp b/src/gui/kstandardshortcut.cpp index 6afd4a9f..1f67901f 100644 --- a/src/gui/kstandardshortcut.cpp +++ b/src/gui/kstandardshortcut.cpp @@ -51,6 +51,7 @@ struct KStandardShortcutInfo { #define CTRL(x) Qt::CTRL | Qt::Key_##x #define SHIFT(x) Qt::SHIFT | Qt::Key_##x +#define CTRLALT(x) Qt::CTRL | Qt::ALT | Qt::Key_##x #define CTRLSHIFT(x) Qt::CTRL | Qt::SHIFT | Qt::Key_##x #define ALT(x) Qt::ALT | Qt::Key_##x #define ALTSHIFT(x) Qt::ALT | Qt::SHIFT | Qt::Key_##x @@ -331,7 +332,7 @@ static KStandardShortcutInfo g_infoStandardShortcut[] = { // dummy entry {SaveOptions_DEPRECATED_DO_NOT_USE, nullptr, {nullptr, nullptr}, 0, 0, QList(), false, Category::InvalidCategory}, #endif - {KeyBindings, "KeyBindings", QT_TRANSLATE_NOOP3("KStandardShortcut", "Key Bindings", "@action"), 0, 0, QList(), false, Category::Settings}, + {KeyBindings, "KeyBindings", QT_TRANSLATE_NOOP3("KStandardShortcut", "Key Bindings", "@action"), CTRLALT(Comma), 0, QList(), false, Category::Settings}, {Preferences, "Preferences", QT_TRANSLATE_NOOP3("KStandardShortcut", "Configure Application", "@action"), -- cgit v1.2.1