mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Make alert messages application modal and not window modal,
so assertions cannot be interrupted by terminating the application
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
class ModalMessageBox : public QMessageBox
|
||||
{
|
||||
public:
|
||||
explicit ModalMessageBox(QWidget* parent);
|
||||
explicit ModalMessageBox(QWidget* parent, Qt::WindowModality modality = Qt::WindowModal);
|
||||
|
||||
static int critical(QWidget* parent, const QString& title, const QString& text,
|
||||
StandardButtons buttons = Ok, StandardButton default_button = NoButton);
|
||||
|
Reference in New Issue
Block a user