mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Set window icon in the whole application instead of in BaseWindow (#3554)
This makes icon visible on Ubuntu 20.04 while using AppImage build (and possibly some other setups as well).
This commit is contained in:
parent
f4c82dfa59
commit
6ef8e482c3
|
@ -79,6 +79,8 @@ namespace {
|
|||
|
||||
QApplication::setStyle(QStyleFactory::create("Fusion"));
|
||||
|
||||
QApplication::setWindowIcon(QIcon(":/icon.ico"));
|
||||
|
||||
installCustomPalette();
|
||||
}
|
||||
|
||||
|
|
|
@ -130,8 +130,6 @@ float BaseWindow::qtFontScale() const
|
|||
|
||||
void BaseWindow::init()
|
||||
{
|
||||
this->setWindowIcon(QIcon(":/images/icon.png"));
|
||||
|
||||
#ifdef USEWINSDK
|
||||
if (this->hasCustomWindowFrame())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue