About: update app icon

This commit is contained in:
tobtoht 2023-03-28 19:39:33 +02:00
parent 500f0b97ab
commit fbc3b89285
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -15,8 +15,7 @@ AboutDialog::AboutDialog(QWidget *parent)
{
ui->setupUi(this);
// cute fox (c) Diego "rehrar" Salazar :-D
QPixmap p(":assets/images/cutexmrfox.png");
QPixmap p(":assets/images/appicons/256x256.png");
ui->aboutImage->setPixmap(p.scaled(128, 128, Qt::KeepAspectRatio, Qt::SmoothTransformation));
auto about = Utils::fileOpenQRC(":assets/about.txt");
auto about_text = Utils::barrayToString(about);
@ -29,10 +28,6 @@ AboutDialog::AboutDialog(QWidget *parent)
auto ack_text = Utils::barrayToString(ack);
ui->ackText->setText(ack_text);
connect(ui->aboutImage, &ClickableLabel::clicked, [this](){
QMessageBox::information(this, "...", "Foxes don't have feathers.");
});
this->adjustSize();
}