Mercurial > minori
annotate src/main.cc @ 175:9b10175be389
dep/json: update to v3.11.3
anime/db: save anime list to database, very much untested and likely won't work as intended
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Thu, 30 Nov 2023 13:52:26 -0500 |
| parents | 6fdf0632c003 |
| children | 122fad646f81 |
| rev | line source |
|---|---|
| 10 | 1 #include "core/session.h" |
| 175 | 2 #include "core/anime_db.h" |
| 10 | 3 #include "gui/window.h" |
| 4 #include <QApplication> | |
| 46 | 5 #include <QStyleFactory> |
| 108 | 6 #include <QTranslator> |
|
98
582b2fca1561
strings: parse HTML entities when reading synopsis, make the
Paper <mrpapersonic@gmail.com>
parents:
81
diff
changeset
|
7 #include <QLocale> |
| 10 | 8 |
| 9 Session session; | |
| 10 | |
| 11 int main(int argc, char** argv) { | |
| 12 QApplication app(argc, argv); | |
| 13 | |
| 14 session.config.Load(); | |
| 175 | 15 Anime::db.LoadDatabaseFromFile(); |
| 10 | 16 |
| 17 MainWindow window; | |
| 18 | |
| 19 window.resize(941, 750); | |
| 11 | 20 window.setWindowTitle("Minori"); |
| 10 | 21 window.show(); |
| 22 | |
| 23 return app.exec(); | |
| 46 | 24 } |
