mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-17 06:52:26 +00:00
add AppIcon to fatal_error_dialog
This commit is contained in:
parent
7cbafd603a
commit
66df38957b
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue