From 8ea27b0aca38f78faa4445286e8b8fb43693a209 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Fri, 3 Jan 2025 19:05:06 +0100 Subject: [PATCH] Qt: workaround for crash in long accepted slot --- rpcs3/rpcs3qt/main_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index d3206b7bdb..3526cce235 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -405,7 +405,7 @@ void main_window::OnMissingFw() connect(mb, &QDialog::accepted, this, [this]() { - InstallPup(); + QTimer::singleShot(1, [this](){ InstallPup(); }); // singleShot to avoid a Qt bug that causes a deletion of the sender during long slots. }); }