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
bbcfe84d
Commit
bbcfe84d
authored
Nov 23, 2014
by
Matt Lowe
Browse files
Added double click/Enter for Server tab
Added the same functionality to the server tab
parent
9e349d8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/tab_server.cpp
View file @
bbcfe84d
...
...
@@ -52,6 +52,8 @@ RoomSelector::RoomSelector(AbstractClient *_client, QWidget *parent)
setLayout
(
vbox
);
connect
(
client
,
SIGNAL
(
listRoomsEventReceived
(
const
Event_ListRooms
&
)),
this
,
SLOT
(
processListRoomsEvent
(
const
Event_ListRooms
&
)));
connect
(
roomList
,
SIGNAL
(
doubleClicked
(
const
QModelIndex
&
)),
this
,
SLOT
(
joinClicked
()));
connect
(
roomList
,
SIGNAL
(
activated
(
const
QModelIndex
&
)),
this
,
SLOT
(
joinClicked
()));
client
->
sendCommand
(
client
->
prepareSessionCommand
(
Command_ListRooms
()));
}
...
...
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