diff options
author | empyreal one <empyreal@ukr.net> | 2021-08-29 18:12:22 +0000 |
---|---|---|
committer | Nate Graham <nate@kde.org> | 2021-08-29 18:12:22 +0000 |
commit | 7ad396a0448abc7b6861c0a9ca80b9902d365bc9 (patch) | |
tree | e6868aa7f1807401629ae079e1abbc9b30f9955f | |
parent | dab919f1c2c255535874e8f47ad1eba2b5d347f2 (diff) | |
download | kconfig-7ad396a0448abc7b6861c0a9ca80b9902d365bc9.tar.gz kconfig-7ad396a0448abc7b6861c0a9ca80b9902d365bc9.tar.bz2 |
Add Ctrl+Alt+Comma shortcut for "Configure Keyboard Shortcuts"
BUG: 441537
FIXED-IN: 5.86
-rw-r--r-- | src/gui/kstandardshortcut.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<QKeySequence>(), false, Category::InvalidCategory}, #endif - {KeyBindings, "KeyBindings", QT_TRANSLATE_NOOP3("KStandardShortcut", "Key Bindings", "@action"), 0, 0, QList<QKeySequence>(), false, Category::Settings}, + {KeyBindings, "KeyBindings", QT_TRANSLATE_NOOP3("KStandardShortcut", "Key Bindings", "@action"), CTRLALT(Comma), 0, QList<QKeySequence>(), false, Category::Settings}, {Preferences, "Preferences", QT_TRANSLATE_NOOP3("KStandardShortcut", "Configure Application", "@action"), |