Mercurial > minori
annotate src/main.cc @ 99:503bc1547d49
strings: clarify on some functions and make some of them miniscule
amounts faster
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Fri, 03 Nov 2023 09:00:46 -0400 |
| parents | 582b2fca1561 |
| children | 2004b41d4a59 |
| rev | line source |
|---|---|
| 10 | 1 #include "core/session.h" |
| 2 #include "gui/window.h" | |
| 3 #include <QApplication> | |
| 46 | 4 #include <QStyleFactory> |
|
98
582b2fca1561
strings: parse HTML entities when reading synopsis, make the
Paper <mrpapersonic@gmail.com>
parents:
81
diff
changeset
|
5 #include <QLocale> |
| 10 | 6 |
| 7 Session session; | |
| 8 | |
| 9 int main(int argc, char** argv) { | |
| 10 QApplication app(argc, argv); | |
|
98
582b2fca1561
strings: parse HTML entities when reading synopsis, make the
Paper <mrpapersonic@gmail.com>
parents:
81
diff
changeset
|
11 /* this is a reasonable default, I presume */ |
|
582b2fca1561
strings: parse HTML entities when reading synopsis, make the
Paper <mrpapersonic@gmail.com>
parents:
81
diff
changeset
|
12 QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates)); |
| 10 | 13 |
| 14 session.config.Load(); | |
| 15 | |
| 16 MainWindow window; | |
| 17 | |
| 18 window.resize(941, 750); | |
| 11 | 19 window.setWindowTitle("Minori"); |
| 10 | 20 window.show(); |
| 21 | |
| 22 return app.exec(); | |
| 46 | 23 } |
