From 3070ecdea76531d7720b03c662f5201863efa567 Mon Sep 17 00:00:00 2001 From: Koncord Date: Mon, 30 Jan 2017 04:14:09 +0800 Subject: [PATCH] [Browser] Allow connecting by double click --- apps/browser/MainWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/browser/MainWindow.cpp b/apps/browser/MainWindow.cpp index c6b5a7564..2da8736b4 100644 --- a/apps/browser/MainWindow.cpp +++ b/apps/browser/MainWindow.cpp @@ -39,6 +39,8 @@ MainWindow::MainWindow(QWidget *parent) connect(actionPlay, SIGNAL(triggered(bool)), this, SLOT(play())); connect(tblServerBrowser, SIGNAL(clicked(QModelIndex)), this, SLOT(serverSelected())); connect(tblFavorites, SIGNAL(clicked(QModelIndex)), this, SLOT(serverSelected())); + connect(tblFavorites, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(play())); + connect(tblServerBrowser, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(play())); loadFavorites(); }