Mercurial > minori
comparison src/main.cc @ 195:975a3f0965e2
locale: only attempt loading locales after QApplication is init'd
also the general application stuff and anime list is separated in settings
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 07 Dec 2023 11:14:01 -0500 |
parents | 122fad646f81 |
children | adc20fa321c1 |
comparison
equal
deleted
inserted
replaced
194:8548dc425697 | 195:975a3f0965e2 |
---|---|
10 | 10 |
11 int main(int argc, char** argv) { | 11 int main(int argc, char** argv) { |
12 QApplication app(argc, argv); | 12 QApplication app(argc, argv); |
13 | 13 |
14 session.config.Load(); | 14 session.config.Load(); |
15 session.config.locale.RefreshAvailableLocales(); | |
15 Anime::db.LoadDatabaseFromDisk(); | 16 Anime::db.LoadDatabaseFromDisk(); |
16 | 17 |
17 MainWindow window; | 18 MainWindow window; |
18 | 19 |
19 window.resize(941, 750); | 20 window.resize(941, 750); |