mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 11:36:42 +00:00
[Browser] Allow connecting by double click
This commit is contained in:
parent
5eff2ece21
commit
3070ecdea7
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ MainWindow::MainWindow(QWidget *parent)
|
||||||
connect(actionPlay, SIGNAL(triggered(bool)), this, SLOT(play()));
|
connect(actionPlay, SIGNAL(triggered(bool)), this, SLOT(play()));
|
||||||
connect(tblServerBrowser, SIGNAL(clicked(QModelIndex)), this, SLOT(serverSelected()));
|
connect(tblServerBrowser, SIGNAL(clicked(QModelIndex)), this, SLOT(serverSelected()));
|
||||||
connect(tblFavorites, 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();
|
loadFavorites();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue