mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 18:01:56 +00:00
Merge branch 'master' of https://github.com/dolphin-emu/dolphin into dolphin-emu-master
This commit is contained in:
commit
c18016e795
767 changed files with 87644 additions and 70168 deletions
|
@ -325,8 +325,7 @@ void NetPlayDialog::CreatePlayersLayout()
|
|||
void NetPlayDialog::ConnectWidgets()
|
||||
{
|
||||
// Players
|
||||
connect(m_room_box, qOverload<int>(&QComboBox::currentIndexChanged), this,
|
||||
&NetPlayDialog::UpdateGUI);
|
||||
connect(m_room_box, &QComboBox::currentIndexChanged, this, &NetPlayDialog::UpdateGUI);
|
||||
connect(m_hostcode_action_button, &QPushButton::clicked, [this] {
|
||||
if (m_is_copy_button_retry)
|
||||
Common::g_TraversalClient->ReconnectToServer();
|
||||
|
@ -358,7 +357,7 @@ void NetPlayDialog::ConnectWidgets()
|
|||
[this] { m_chat_send_button->setEnabled(!m_chat_type_edit->text().isEmpty()); });
|
||||
|
||||
// Other
|
||||
connect(m_buffer_size_box, qOverload<int>(&QSpinBox::valueChanged), [this](int value) {
|
||||
connect(m_buffer_size_box, &QSpinBox::valueChanged, [this](int value) {
|
||||
if (value == m_buffer_size)
|
||||
return;
|
||||
|
||||
|
@ -419,8 +418,7 @@ void NetPlayDialog::ConnectWidgets()
|
|||
|
||||
// SaveSettings() - Save Hosting-Dialog Settings
|
||||
|
||||
connect(m_buffer_size_box, qOverload<int>(&QSpinBox::valueChanged), this,
|
||||
&NetPlayDialog::SaveSettings);
|
||||
connect(m_buffer_size_box, &QSpinBox::valueChanged, this, &NetPlayDialog::SaveSettings);
|
||||
connect(m_savedata_none_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
connect(m_savedata_load_only_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
connect(m_savedata_load_and_write_action, &QAction::toggled, this, &NetPlayDialog::SaveSettings);
|
||||
|
@ -1047,6 +1045,11 @@ void NetPlayDialog::OnGolferChanged(const bool is_golfer, const std::string& gol
|
|||
DisplayMessage(tr("%1 is now golfing").arg(QString::fromStdString(golfer_name)), "");
|
||||
}
|
||||
|
||||
void NetPlayDialog::OnTtlDetermined(u8 ttl)
|
||||
{
|
||||
DisplayMessage(tr("Using TTL %1 for probe packet").arg(QString::number(ttl)), "");
|
||||
}
|
||||
|
||||
bool NetPlayDialog::IsRecording()
|
||||
{
|
||||
std::optional<bool> is_recording = RunOnObject(m_record_input_action, &QAction::isChecked);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue