Linloir 60ecd08ed1
[UI][CHG] Minor tweaking
- Change default window size (bigger)
2022-12-18 16:11:15 +08:00

22 lines
587 B
C++

#include <QtWidgets/QApplication>
#include <qfontdatabase.h>
#include <string>
#include "mainwindow.h"
#include "logger.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv); // Create main application instance
QFontDatabase::addApplicationFont(":/fonts/font_awesome_6_regular_free.otf"); // Add font awesome font to application
QFontDatabase::addApplicationFont(":/fonts/font_awesome_6_solid_free.otf"); // Add font awesome font to application
MainWindow w;
w.setMouseTracking(true);
w.resize(1250, 750);
w.show();
return a.exec();
}