Merge pull request #929 from poixen/reveal_top_card_shortcut

Added shortcut to reveal top card or lib
This commit is contained in:
poixen 2015-04-10 10:33:04 +02:00
commit 2356788289

View file

@ -720,6 +720,7 @@ void Player::setShortcutsActive()
aRollDie->setShortcut(tr("Ctrl+I"));
aCreateToken->setShortcut(tr("Ctrl+T"));
aCreateAnotherToken->setShortcut(tr("Ctrl+G"));
aAlwaysRevealTopCard->setShortcut(tr("Ctrl+N"));
QMapIterator<int, AbstractCounter *> counterIterator(counters);
while (counterIterator.hasNext())
@ -743,6 +744,7 @@ void Player::setShortcutsInactive()
aRollDie->setShortcut(QKeySequence());
aCreateToken->setShortcut(QKeySequence());
aCreateAnotherToken->setShortcut(QKeySequence());
aAlwaysRevealTopCard->setShortcut(QKeySequence());
QMapIterator<int, AbstractCounter *> counterIterator(counters);
while (counterIterator.hasNext())