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
697358e4
Commit
697358e4
authored
Mar 15, 2015
by
Matt Lowe
Browse files
Added shortcut to clear chat
F12 will now clear the chat in the main chat.
parent
20603c7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_room.cpp
View file @
697358e4
...
...
@@ -54,6 +54,7 @@ TabRoom::TabRoom(TabSupervisor *_tabSupervisor, AbstractClient *_client, ServerI
QMenu
*
chatSettingsMenu
=
new
QMenu
(
this
);
aClearChat
=
chatSettingsMenu
->
addAction
(
QString
());
aClearChat
->
setShortcut
(
tr
(
"F12"
));
connect
(
aClearChat
,
SIGNAL
(
triggered
()),
this
,
SLOT
(
actClearChat
()));
chatSettingsMenu
->
addSeparator
();
...
...
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