-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
30 lines (24 loc) · 741 Bytes
/
Copy pathmain.cpp
File metadata and controls
30 lines (24 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "mainwindow.h"
#include <QApplication>
#include "ui/style_sheet.h"
int main(int argc, char *argv[])
{
// HIDPI support
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
// Application details
QCoreApplication::setApplicationName("Transfer Tool");
QCoreApplication::setApplicationVersion(APP_VERSION);
QCoreApplication::setOrganizationName("EHM The Blue Line");
QCoreApplication::setOrganizationDomain("ehmtheblueline.com");
// Application
QApplication a(argc, argv);
// Stylesheet
StyleSheet *s = new StyleSheet();
s->get();
delete s;
// Main window
MainWindow w;
w.show();
return a.exec();
}