comparison src/main.cc @ 108:2004b41d4a59

*: huge commit 1. WORKING LOCALIZATION + translation for Spanish and British English 2. idk like 2 changes for the dark theme :)
author Paper <mrpapersonic@gmail.com>
date Sun, 05 Nov 2023 23:31:49 -0500
parents 582b2fca1561
children 39521c47c7a3
comparison
equal deleted inserted replaced
107:49c8d1976869 108:2004b41d4a59
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 <QTranslator>
5 #include <QLocale> 6 #include <QLocale>
6 7
7 Session session; 8 Session session;
8 9
9 int main(int argc, char** argv) { 10 int main(int argc, char** argv) {
10 QApplication app(argc, argv); 11 QApplication app(argc, argv);
11 /* this is a reasonable default, I presume */
12 QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
13 12
14 session.config.Load(); 13 session.config.Load();
15 14
16 MainWindow window; 15 MainWindow window;
17 16