1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 12:12:50 +01:00

add AppIcon to fatal_error_dialog

This commit is contained in:
Megamouse 2021-03-29 22:21:29 +02:00
parent 7cbafd603a
commit 66df38957b

View File

@ -2,9 +2,11 @@
#include <QLayout>
#include <QTextDocument>
#include <QIcon>
fatal_error_dialog::fatal_error_dialog(std::string_view text) : QMessageBox()
{
setWindowIcon(QIcon(":/rpcs3.ico"));
setWindowTitle(tr("RPCS3: Fatal Error"));
setIcon(QMessageBox::Icon::Critical);
setTextFormat(Qt::TextFormat::RichText);