mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
Qt/NetPlay: Make double clicking game entries confirm dialogs
This commit is contained in:
@ -164,6 +164,9 @@ void NetPlaySetupDialog::ConnectWidgets()
|
||||
[](int index) {
|
||||
Settings::GetQSettings().setValue(QStringLiteral("netplay/hostgame"), index);
|
||||
});
|
||||
|
||||
connect(m_host_games, &QListWidget::itemDoubleClicked, this, &NetPlaySetupDialog::accept);
|
||||
|
||||
connect(m_host_force_port_check, &QCheckBox::toggled,
|
||||
[this](int value) { m_host_force_port_box->setEnabled(value); });
|
||||
#ifdef USE_UPNP
|
||||
|
Reference in New Issue
Block a user