From 6a44855a5cdc819ca9046fb81b61a7209792df1e Mon Sep 17 00:00:00 2001 From: Matt Lowe Date: Sun, 23 Nov 2014 00:36:50 +0100 Subject: [PATCH] Added double click to join a room Can now double click on a room in the lobby to join --- cockatrice/src/gameselector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cockatrice/src/gameselector.cpp b/cockatrice/src/gameselector.cpp index 25bf2ebd..475768da 100644 --- a/cockatrice/src/gameselector.cpp +++ b/cockatrice/src/gameselector.cpp @@ -76,6 +76,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())); } void GameSelector::actSetFilter()