feat: setHighlightSounds & openSubscriptionPage split hotkeys (#5856)
This commit is contained in:
@@ -195,6 +195,18 @@ inline const std::map<HotkeyCategory, ActionDefinitionMap> actionNames{
|
||||
},
|
||||
.argumentsPrompt = "Target popup:",
|
||||
}},
|
||||
{"setHighlightSounds",
|
||||
ActionDefinition{
|
||||
.displayName = "Set highlight sounds",
|
||||
.argumentDescription = "[on or off. default: toggle]",
|
||||
.minCountArguments = 0,
|
||||
.maxCountArguments = 1,
|
||||
.possibleArguments = HOTKEY_ARG_ON_OFF_TOGGLE,
|
||||
.argumentsPrompt = "New value:",
|
||||
.argumentsPromptHover =
|
||||
"Should highlight sounds be enabled, disabled or toggled",
|
||||
}},
|
||||
{"openSubscriptionPage", ActionDefinition{"Open subscription page"}},
|
||||
}},
|
||||
{HotkeyCategory::SplitInput,
|
||||
{
|
||||
|
||||
@@ -75,7 +75,7 @@ Qt::ShortcutContext Hotkey::getContext() const
|
||||
}
|
||||
qCDebug(chatterinoHotkeys)
|
||||
<< "Using default shortcut context for" << this->getCategory()
|
||||
<< "and hopeing for the best.";
|
||||
<< "and hoping for the best.";
|
||||
return Qt::WidgetShortcut;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user