mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Qt: workaround for crash in long accepted slot
This commit is contained in:
parent
4f76aec6b3
commit
8ea27b0aca
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue