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
97055929
Commit
97055929
authored
Jan 26, 2011
by
Max-Wilhelm Bruker
Browse files
shortcut for viewing sideboard
parent
c39539b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/player.cpp
View file @
97055929
...
@@ -447,6 +447,7 @@ void Player::setShortcutsActive()
...
@@ -447,6 +447,7 @@ void Player::setShortcutsActive()
{
{
shortcutsActive
=
true
;
shortcutsActive
=
true
;
aViewSideboard
->
setShortcut
(
tr
(
"Ctrl+F3"
));
aViewLibrary
->
setShortcut
(
tr
(
"F3"
));
aViewLibrary
->
setShortcut
(
tr
(
"F3"
));
aViewTopCards
->
setShortcut
(
tr
(
"Ctrl+W"
));
aViewTopCards
->
setShortcut
(
tr
(
"Ctrl+W"
));
aViewGraveyard
->
setShortcut
(
tr
(
"F4"
));
aViewGraveyard
->
setShortcut
(
tr
(
"F4"
));
...
@@ -468,6 +469,7 @@ void Player::setShortcutsInactive()
...
@@ -468,6 +469,7 @@ void Player::setShortcutsInactive()
{
{
shortcutsActive
=
false
;
shortcutsActive
=
false
;
aViewSideboard
->
setShortcut
(
QKeySequence
());
aViewLibrary
->
setShortcut
(
QKeySequence
());
aViewLibrary
->
setShortcut
(
QKeySequence
());
aViewTopCards
->
setShortcut
(
QKeySequence
());
aViewTopCards
->
setShortcut
(
QKeySequence
());
aViewGraveyard
->
setShortcut
(
QKeySequence
());
aViewGraveyard
->
setShortcut
(
QKeySequence
());
...
...
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