Mercurial > minori
view src/main.cc @ 106:c8c72278f6fd
*: #if -> #ifdef, remove outdated comments in sys/win32/dark_theme.cc
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 05 Nov 2023 04:01:58 -0500 |
parents | 582b2fca1561 |
children | 2004b41d4a59 |
line wrap: on
line source
#include "core/session.h" #include "gui/window.h" #include <QApplication> #include <QStyleFactory> #include <QLocale> Session session; int main(int argc, char** argv) { QApplication app(argc, argv); /* this is a reasonable default, I presume */ QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates)); session.config.Load(); MainWindow window; window.resize(941, 750); window.setWindowTitle("Minori"); window.show(); return app.exec(); }