diff --git a/resources/images/icon.png b/resources/images/icon.png new file mode 100644 index 000000000..9a6f5ba19 Binary files /dev/null and b/resources/images/icon.png differ diff --git a/resources/resources.qrc b/resources/resources.qrc index fa74b9f4b..9e7b48f8f 100644 --- a/resources/resources.qrc +++ b/resources/resources.qrc @@ -40,6 +40,7 @@ images/theme.svg images/accounts.svg images/chatterino2.icns + images/icon.png qt.conf diff --git a/src/widgets/basewidget.cpp b/src/widgets/basewidget.cpp index 40f824363..6ed7535f2 100644 --- a/src/widgets/basewidget.cpp +++ b/src/widgets/basewidget.cpp @@ -4,6 +4,7 @@ #include "widgets/tooltipwidget.hpp" #include +#include #include #include #include @@ -62,6 +63,8 @@ void BaseWidget::init() void BaseWidget::initAsWindow() { + this->setWindowIcon(QIcon(":/images/icon.png")); + this->isWindow = true; #ifdef USEWINSDK