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:
pajlada
2022-01-30 16:08:02 +01:00
committed by GitHub
parent f4c82dfa59
commit 6ef8e482c3
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -79,6 +79,8 @@ namespace {
QApplication::setStyle(QStyleFactory::create("Fusion"));
QApplication::setWindowIcon(QIcon(":/icon.ico"));
installCustomPalette();
}
-2
View File
@@ -130,8 +130,6 @@ float BaseWindow::qtFontScale() const
void BaseWindow::init()
{
this->setWindowIcon(QIcon(":/images/icon.png"));
#ifdef USEWINSDK
if (this->hasCustomWindowFrame())
{