Mercurial > minori
annotate src/main.cc @ 158:80d6b28eb29f
dep/animia: fix most X11 stuff
it looks like _NET_WM_PID isn't supported by MOST clients, or my code is wrong...
core/filesystem: fix Linux config path handling on *nix
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Fri, 17 Nov 2023 02:07:33 -0500 |
| parents | 6fdf0632c003 |
| children | 9b10175be389 |
| rev | line source |
|---|---|
| 10 | 1 #include "core/session.h" |
| 2 #include "gui/window.h" | |
| 3 #include <QApplication> | |
| 46 | 4 #include <QStyleFactory> |
| 108 | 5 #include <QTranslator> |
|
98
582b2fca1561
strings: parse HTML entities when reading synopsis, make the
Paper <mrpapersonic@gmail.com>
parents:
81
diff
changeset
|
6 #include <QLocale> |
| 10 | 7 |
| 8 Session session; | |
| 9 | |
| 10 int main(int argc, char** argv) { | |
| 11 QApplication app(argc, argv); | |
| 12 | |
| 13 session.config.Load(); | |
| 14 | |
| 15 MainWindow window; | |
| 16 | |
| 17 window.resize(941, 750); | |
| 11 | 18 window.setWindowTitle("Minori"); |
| 10 | 19 window.show(); |
| 20 | |
| 21 return app.exec(); | |
| 46 | 22 } |
