Use system icon where applicable

This commit is contained in:
Loren Burkholder 2020-12-02 20:23:28 -05:00
parent 27bf654d92
commit de858ca80c
2 changed files with 2 additions and 3 deletions

View file

@ -37,8 +37,7 @@ WelcomePage::WelcomePage(QWidget *parent)
QFont subTitleFont;
subTitleFont.setPointSizeF(subTitleFont.pointSizeF() * 1.5);
QIcon icon;
icon.addFile(":/logos/splash.png");
QIcon icon{QIcon::fromTheme("nheko", QIcon{":/logos/splash.png"})};
auto logo_ = new QLabel(this);
logo_->setPixmap(icon.pixmap(256));

View file

@ -174,7 +174,7 @@ main(int argc, char *argv[])
parser.process(app);
app.setWindowIcon(QIcon(":/logos/nheko.png"));
app.setWindowIcon(QIcon::fromTheme("nheko", QIcon{":/logos/nheko.png"}));
http::init();