qt: Make fatal messageboxes have the correct icons
Fatals now exit the emulator properly
This commit is contained in:
@@ -24,7 +24,7 @@ public:
|
||||
explicit MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
void showMessage(const QString& header, const QString& message);
|
||||
void showMessage(int flags, const QString& header, const QString& message);
|
||||
void getTitle(wchar_t* title);
|
||||
void blitToWidget(int x, int y, int w, int h);
|
||||
QSize getRenderWidgetSize();
|
||||
@@ -45,7 +45,7 @@ signals:
|
||||
void setFullscreen(bool state);
|
||||
void setMouseCapture(bool state);
|
||||
|
||||
void showMessageForNonQtThread(const QString& header, const QString& message);
|
||||
void showMessageForNonQtThread(int flags, const QString& header, const QString& message);
|
||||
void getTitleForNonQtThread(wchar_t* title);
|
||||
public slots:
|
||||
void showSettings();
|
||||
@@ -100,7 +100,7 @@ private slots:
|
||||
void on_actionRenderer_options_triggered();
|
||||
|
||||
void refreshMediaMenu();
|
||||
void showMessage_(const QString& header, const QString& message);
|
||||
void showMessage_(int flags, const QString& header, const QString& message);
|
||||
void getTitle_(wchar_t* title);
|
||||
|
||||
void on_actionMCA_devices_triggered();
|
||||
|
||||
Reference in New Issue
Block a user