Use icns on macOS

This commit is contained in:
Joseph Donofry 2021-12-14 17:05:48 -05:00
parent 0a3e647509
commit cce5d0534f
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB

View file

@ -206,8 +206,9 @@ main(int argc, char *argv[])
return 0; return 0;
} }
#if !defined(Q_OS_MAC)
app.setWindowIcon(QIcon::fromTheme("nheko", QIcon{":/logos/nheko.png"})); app.setWindowIcon(QIcon::fromTheme("nheko", QIcon{":/logos/nheko.png"}));
#endif
http::init(); http::init();
createStandardDirectory(QStandardPaths::CacheLocation); createStandardDirectory(QStandardPaths::CacheLocation);