add AppIcon to fatal_error_dialog
This commit is contained in:
@@ -2,9 +2,11 @@
|
|||||||
|
|
||||||
#include <QLayout>
|
#include <QLayout>
|
||||||
#include <QTextDocument>
|
#include <QTextDocument>
|
||||||
|
#include <QIcon>
|
||||||
|
|
||||||
fatal_error_dialog::fatal_error_dialog(std::string_view text) : QMessageBox()
|
fatal_error_dialog::fatal_error_dialog(std::string_view text) : QMessageBox()
|
||||||
{
|
{
|
||||||
|
setWindowIcon(QIcon(":/rpcs3.ico"));
|
||||||
setWindowTitle(tr("RPCS3: Fatal Error"));
|
setWindowTitle(tr("RPCS3: Fatal Error"));
|
||||||
setIcon(QMessageBox::Icon::Critical);
|
setIcon(QMessageBox::Icon::Critical);
|
||||||
setTextFormat(Qt::TextFormat::RichText);
|
setTextFormat(Qt::TextFormat::RichText);
|
||||||
|
|||||||
Reference in New Issue
Block a user