mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-24 04:57:20 +01:00
Merge pull request #13281 from jordan-woyak/iowindow-signal-proper-fix
DolphinQt: Fix QObject::connect: signal not found in IOWindow error.
This commit is contained in:
commit
d87ee2daa5
@ -541,7 +541,6 @@ void IOWindow::ConnectWidgets()
|
||||
const auto lock = m_controller->GetStateLock();
|
||||
m_reference->State(0.0);
|
||||
});
|
||||
connect(this, &IOWindow::closeEvent, this, &IOWindow::TestOutputComplete);
|
||||
|
||||
connect(m_button_box, &QDialogButtonBox::clicked, this, &IOWindow::OnDialogButtonPressed);
|
||||
connect(m_devices_combo, &QComboBox::currentTextChanged, this, &IOWindow::OnDeviceChanged);
|
||||
@ -587,6 +586,7 @@ void IOWindow::ConnectWidgets()
|
||||
});
|
||||
|
||||
// revert the expression when the window closes without using the OK button
|
||||
// UpdateExpression will also ensure an active rumble test is stopped when the dialog closes.
|
||||
connect(this, &IOWindow::finished, [this] { UpdateExpression(m_original_expression); });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user