mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Code cleanup
This commit is contained in:
parent
5daacc0a22
commit
21e7c00f66
@ -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++)
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user