Commit 6a44855a authored by Matt Lowe's avatar Matt Lowe
Browse files

Added double click to join a room

Can now double click on a room in the lobby to join
parent 8c7aa417
...@@ -76,6 +76,7 @@ GameSelector::GameSelector(AbstractClient *_client, const TabSupervisor *_tabSup ...@@ -76,6 +76,7 @@ GameSelector::GameSelector(AbstractClient *_client, const TabSupervisor *_tabSup
connect(joinButton, SIGNAL(clicked()), this, SLOT(actJoin())); connect(joinButton, SIGNAL(clicked()), this, SLOT(actJoin()));
connect(spectateButton, SIGNAL(clicked()), this, SLOT(actJoin())); connect(spectateButton, SIGNAL(clicked()), this, SLOT(actJoin()));
connect(gameListView, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(actJoin()));
} }
void GameSelector::actSetFilter() void GameSelector::actSetFilter()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment