Configurable shortcuts

This commit is contained in:
marco 2015-08-09 20:48:21 +02:00
parent b0bf94e378
commit beaa4e9383
17 changed files with 1075 additions and 409 deletions

View file

@ -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")));
}
}