mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
added window icon
This commit is contained in:
parent
2fddc0ed8a
commit
898d1d26e7
BIN
resources/images/icon.png
Normal file
BIN
resources/images/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
|
@ -40,6 +40,7 @@
|
||||||
<file>images/theme.svg</file>
|
<file>images/theme.svg</file>
|
||||||
<file>images/accounts.svg</file>
|
<file>images/accounts.svg</file>
|
||||||
<file>images/chatterino2.icns</file>
|
<file>images/chatterino2.icns</file>
|
||||||
|
<file>images/icon.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
<qresource prefix="/qt/etc">
|
<qresource prefix="/qt/etc">
|
||||||
<file>qt.conf</file>
|
<file>qt.conf</file>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
#include "widgets/tooltipwidget.hpp"
|
#include "widgets/tooltipwidget.hpp"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
#include <QIcon>
|
||||||
#include <QLayout>
|
#include <QLayout>
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include <boost/signals2.hpp>
|
#include <boost/signals2.hpp>
|
||||||
|
@ -62,6 +63,8 @@ void BaseWidget::init()
|
||||||
|
|
||||||
void BaseWidget::initAsWindow()
|
void BaseWidget::initAsWindow()
|
||||||
{
|
{
|
||||||
|
this->setWindowIcon(QIcon(":/images/icon.png"));
|
||||||
|
|
||||||
this->isWindow = true;
|
this->isWindow = true;
|
||||||
|
|
||||||
#ifdef USEWINSDK
|
#ifdef USEWINSDK
|
||||||
|
|
Loading…
Reference in a new issue