mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Code cleanup
This commit is contained in:
parent
5daacc0a22
commit
21e7c00f66
@ -3,7 +3,6 @@
|
|||||||
#include <QLocale>
|
#include <QLocale>
|
||||||
#include <QFileOpenEvent>
|
#include <QFileOpenEvent>
|
||||||
#include "gui.h"
|
#include "gui.h"
|
||||||
#include "icons.h"
|
|
||||||
#include "app.h"
|
#include "app.h"
|
||||||
|
|
||||||
|
|
||||||
@ -30,7 +29,6 @@ App::~App()
|
|||||||
|
|
||||||
void App::run()
|
void App::run()
|
||||||
{
|
{
|
||||||
_gui->setWindowIcon(QIcon(QPixmap(APP_ICON)));
|
|
||||||
_gui->show();
|
_gui->show();
|
||||||
|
|
||||||
for (int i = 1; i < _argc; i++)
|
for (int i = 1; i < _argc; i++)
|
||||||
|
@ -86,6 +86,7 @@ GUI::GUI(QWidget *parent) : QMainWindow(parent)
|
|||||||
widget->setLayout(layout);
|
widget->setLayout(layout);
|
||||||
setCentralWidget(widget);
|
setCentralWidget(widget);
|
||||||
|
|
||||||
|
setWindowIcon(QIcon(QPixmap(APP_ICON)));
|
||||||
setWindowTitle(APP_NAME);
|
setWindowTitle(APP_NAME);
|
||||||
setUnifiedTitleAndToolBarOnMac(true);
|
setUnifiedTitleAndToolBarOnMac(true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user