Merge pull request #13277 from jordan-woyak/iowindow-debug-assert-fix

DolphinQt: Fix ASSERT failure in IOWindow in debug build.
This commit is contained in:
Admiral H. Curtiss 2025-01-16 10:04:55 +01:00 committed by GitHub
commit 2c83a256ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ void IOWindow::ConnectWidgets()
const auto lock = m_controller->GetStateLock();
m_reference->State(0.0);
});
connect(this, &QWidget::destroyed, this, &IOWindow::TestOutputComplete);
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);