added window icon

This commit is contained in:
fourtf
2018-01-05 03:30:43 +01:00
parent 2fddc0ed8a
commit 898d1d26e7
3 changed files with 4 additions and 0 deletions
+3
View File
@@ -4,6 +4,7 @@
#include "widgets/tooltipwidget.hpp"
#include <QDebug>
#include <QIcon>
#include <QLayout>
#include <QtGlobal>
#include <boost/signals2.hpp>
@@ -62,6 +63,8 @@ void BaseWidget::init()
void BaseWidget::initAsWindow()
{
this->setWindowIcon(QIcon(":/images/icon.png"));
this->isWindow = true;
#ifdef USEWINSDK