New header image for about dialog

This commit is contained in:
dsc 2021-05-10 23:46:47 +02:00
parent ac1ed1873a
commit 85d4e0ac6d
3 changed files with 3 additions and 2 deletions

View file

@ -131,6 +131,7 @@
<file>assets/images/welcome/wow76.png</file>
<file>assets/images/preferences.png</file>
<file>assets/images/preferences.svg</file>
<file>assets/images/credits.jpg</file>
<file>assets/images/qrcode.png</file>
<file>assets/images/qrcode_white.png</file>
<file>assets/images/revealer_c.png</file>

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 KiB

View file

@ -13,8 +13,8 @@ AboutDialog::AboutDialog(QWidget *parent)
ui->setupUi(this);
this->setWindowIcon(QIcon("://assets/images/appicons/64x64.png"));
QPixmap p(":assets/images/illiterate_illuminati.png");
ui->aboutImage->setPixmap(p.scaled(128, 128, Qt::KeepAspectRatio, Qt::SmoothTransformation));
QPixmap p(":assets/images/credits.jpg");
ui->aboutImage->setPixmap(p.scaled(800, 600, Qt::KeepAspectRatio, Qt::SmoothTransformation));
auto about = Utils::fileOpenQRC(":assets/about.txt");
auto about_text = Utils::barrayToString(about);
about_text = about_text.replace("<wowlet_version>", WOWLET_VERSION);