Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
fbbeb124
Commit
fbbeb124
authored
Apr 08, 2015
by
Matt Lowe
Browse files
Added shortcut to reveal top card or lib
+ Ctrl + N
parent
81e4e089
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/player.cpp
View file @
fbbeb124
...
...
@@ -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
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment