mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 07:14:11 +00:00
DolphinQt: Properly save netplay session settings when changed
This commit is contained in:
parent
8e278b8053
commit
0c12dbe860
@ -227,6 +227,14 @@ void NetPlaySetupDialog::ConnectWidgets()
|
|||||||
connect(m_host_chunked_upload_limit_box,
|
connect(m_host_chunked_upload_limit_box,
|
||||||
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,
|
static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,
|
||||||
&NetPlaySetupDialog::SaveSettings);
|
&NetPlaySetupDialog::SaveSettings);
|
||||||
|
|
||||||
|
connect(m_host_server_browser, &QCheckBox::toggled, this, &NetPlaySetupDialog::SaveSettings);
|
||||||
|
connect(m_host_server_name, &QLineEdit::textChanged, this, &NetPlaySetupDialog::SaveSettings);
|
||||||
|
connect(m_host_server_password, &QLineEdit::textChanged, this, &NetPlaySetupDialog::SaveSettings);
|
||||||
|
connect(m_host_server_region,
|
||||||
|
static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this,
|
||||||
|
&NetPlaySetupDialog::SaveSettings);
|
||||||
|
|
||||||
#ifdef USE_UPNP
|
#ifdef USE_UPNP
|
||||||
connect(m_host_upnp, &QCheckBox::stateChanged, this, &NetPlaySetupDialog::SaveSettings);
|
connect(m_host_upnp, &QCheckBox::stateChanged, this, &NetPlaySetupDialog::SaveSettings);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user