mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-29 22:20:48 +00:00
Qt: workaround for crash in long accepted slot
This commit is contained in:
parent
4f76aec6b3
commit
8ea27b0aca
@ -405,7 +405,7 @@ void main_window::OnMissingFw()
|
|||||||
|
|
||||||
connect(mb, &QDialog::accepted, this, [this]()
|
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…
x
Reference in New Issue
Block a user