From 293f23e64172d0b188e6a37758a5262d1fc46cc4 Mon Sep 17 00:00:00 2001 From: digant Date: Thu, 2 Jan 2025 00:42:29 +0100 Subject: [PATCH] minor cleanup --- rpcs3/rpcs3qt/main_window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/rpcs3qt/main_window.cpp b/rpcs3/rpcs3qt/main_window.cpp index 61dc9a781f..9c969677f3 100644 --- a/rpcs3/rpcs3qt/main_window.cpp +++ b/rpcs3/rpcs3qt/main_window.cpp @@ -405,6 +405,7 @@ void main_window::OnMissingFw() // So, instead of using Qt::WA_DeleteOnClose attribute, manually delete "mb" by using deleteLater() when the dialog is closed // //mb->setAttribute(Qt::WA_DeleteOnClose); + connect(mb, &QDialog::finished, this, [mb]() { mb->deleteLater();