mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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