From 21e7c00f66a9eb4fa5851ed67298a88a0f5a5619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sat, 30 Apr 2016 10:54:07 +0200 Subject: [PATCH] Code cleanup --- src/app.cpp | 2 -- src/gui.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app.cpp b/src/app.cpp index 793cb29a..855623ab 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -3,7 +3,6 @@ #include #include #include "gui.h" -#include "icons.h" #include "app.h" @@ -30,7 +29,6 @@ App::~App() void App::run() { - _gui->setWindowIcon(QIcon(QPixmap(APP_ICON))); _gui->show(); for (int i = 1; i < _argc; i++) diff --git a/src/gui.cpp b/src/gui.cpp index 8f329451..10244e14 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -86,6 +86,7 @@ GUI::GUI(QWidget *parent) : QMainWindow(parent) widget->setLayout(layout); setCentralWidget(widget); + setWindowIcon(QIcon(QPixmap(APP_ICON))); setWindowTitle(APP_NAME); setUnifiedTitleAndToolBarOnMac(true);