Added "ENTER" to join a room

Can now join a room by highlighting a room and pressing ENTER. Works
nice with arrow navigation.
This commit is contained in:
Matt Lowe 2014-11-23 00:46:54 +01:00
parent 6a44855a5c
commit 9e349d8b88

View file

@ -77,6 +77,7 @@ GameSelector::GameSelector(AbstractClient *_client, const TabSupervisor *_tabSup
connect(joinButton, SIGNAL(clicked()), this, SLOT(actJoin()));
connect(spectateButton, SIGNAL(clicked()), this, SLOT(actJoin()));
connect(gameListView, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(actJoin()));
connect(gameListView, SIGNAL(activated(const QModelIndex &)), this, SLOT(actJoin()));
}
void GameSelector::actSetFilter()