mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 08:14:47 -07:00
Configurable shortcuts
This commit is contained in:
parent
b0bf94e378
commit
beaa4e9383
17 changed files with 1075 additions and 409 deletions
|
|
@ -67,15 +67,15 @@ void AbstractCounter::setShortcutsActive()
|
|||
{
|
||||
if (name == "life") {
|
||||
aSet->setShortcuts(settingsCache->shortcuts().getShortcut(
|
||||
"AbstractCounter/aSet",
|
||||
"Player/aSet",
|
||||
QKeySequence("Ctrl+L")));
|
||||
|
||||
aDec->setShortcuts(settingsCache->shortcuts().getShortcut(
|
||||
"AbstractCounter/aDec",
|
||||
"Player/aDec",
|
||||
QKeySequence("F11")));
|
||||
|
||||
aInc->setShortcuts(settingsCache->shortcuts().getShortcut(
|
||||
"AbstractCounter/aInc",
|
||||
"Player/aInc",
|
||||
QKeySequence("F12")));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue