1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2016-04-30 10:54:07 +02:00
parent 5daacc0a22
commit 21e7c00f66
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@
#include <QLocale>
#include <QFileOpenEvent>
#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++)

View File

@ -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);