From c3f66e83e6d9e1fa6cee7880a8cbf4c725f14066 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Wed, 15 Jan 2025 16:23:03 -0600 Subject: [PATCH] DolphinQt: Fix ASSERT failure in IOWindow in debug build. --- Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp b/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp index f2b4805f54..0a77ae20f2 100644 --- a/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/IOWindow.cpp @@ -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);