mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 03:59:29 +00:00
About: update app icon
This commit is contained in:
parent
500f0b97ab
commit
fbc3b89285
1 changed files with 1 additions and 6 deletions
|
@ -15,8 +15,7 @@ AboutDialog::AboutDialog(QWidget *parent)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
|
||||||
// cute fox (c) Diego "rehrar" Salazar :-D
|
QPixmap p(":assets/images/appicons/256x256.png");
|
||||||
QPixmap p(":assets/images/cutexmrfox.png");
|
|
||||||
ui->aboutImage->setPixmap(p.scaled(128, 128, Qt::KeepAspectRatio, Qt::SmoothTransformation));
|
ui->aboutImage->setPixmap(p.scaled(128, 128, Qt::KeepAspectRatio, Qt::SmoothTransformation));
|
||||||
auto about = Utils::fileOpenQRC(":assets/about.txt");
|
auto about = Utils::fileOpenQRC(":assets/about.txt");
|
||||||
auto about_text = Utils::barrayToString(about);
|
auto about_text = Utils::barrayToString(about);
|
||||||
|
@ -29,10 +28,6 @@ AboutDialog::AboutDialog(QWidget *parent)
|
||||||
auto ack_text = Utils::barrayToString(ack);
|
auto ack_text = Utils::barrayToString(ack);
|
||||||
ui->ackText->setText(ack_text);
|
ui->ackText->setText(ack_text);
|
||||||
|
|
||||||
connect(ui->aboutImage, &ClickableLabel::clicked, [this](){
|
|
||||||
QMessageBox::information(this, "...", "Foxes don't have feathers.");
|
|
||||||
});
|
|
||||||
|
|
||||||
this->adjustSize();
|
this->adjustSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue