qt: Make fatal messageboxes have the correct icons

Fatals now exit the emulator properly
This commit is contained in:
Cacodemon345
2022-07-09 13:51:12 +06:00
parent 740a1e0bf3
commit 62fd0feba1
3 changed files with 16 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ int ui_msgbox_header(int flags, void *header, void* message) {
msgBox.exec();
} else {
// else scope it to main_window
main_window->showMessage(hdr, msg);
main_window->showMessage(flags, hdr, msg);
}
return 0;
}