Mercurial > minori
comparison src/main.cc @ 98:582b2fca1561
strings: parse HTML entities when reading synopsis, make the
toupper and tolower functions more sane
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 02 Nov 2023 15:22:02 -0400 |
parents | 9b2b41f83a5e |
children | 2004b41d4a59 |
comparison
equal
deleted
inserted
replaced
97:18979b066284 | 98:582b2fca1561 |
---|---|
1 #include "core/session.h" | 1 #include "core/session.h" |
2 #include "gui/window.h" | 2 #include "gui/window.h" |
3 #include <QApplication> | 3 #include <QApplication> |
4 #include <QStyleFactory> | 4 #include <QStyleFactory> |
5 #include <QLocale> | |
5 | 6 |
6 Session session; | 7 Session session; |
7 | 8 |
8 int main(int argc, char** argv) { | 9 int main(int argc, char** argv) { |
9 QApplication app(argc, argv); | 10 QApplication app(argc, argv); |
11 /* this is a reasonable default, I presume */ | |
12 QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates)); | |
10 | 13 |
11 session.config.Load(); | 14 session.config.Load(); |
12 | 15 |
13 MainWindow window; | 16 MainWindow window; |
14 | 17 |