Mercurial > minori
comparison src/main.cc @ 202:71832ffe425a
animia: re-add kvm fd source
this is all being merged from my wildly out-of-date laptop. SORRY!
in other news, I edited the CI file to install the wayland client
as well, so the linux CI build might finally get wayland stuff.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Tue, 02 Jan 2024 06:05:06 -0500 |
parents | 975a3f0965e2 |
children | adc20fa321c1 |
comparison
equal
deleted
inserted
replaced
201:8f6f8dd2eb23 | 202:71832ffe425a |
---|---|
1 #include "core/session.h" | 1 #include "core/session.h" |
2 #include "core/anime_db.h" | |
2 #include "gui/window.h" | 3 #include "gui/window.h" |
3 #include <QApplication> | 4 #include <QApplication> |
4 #include <QStyleFactory> | 5 #include <QStyleFactory> |
5 #include <QTranslator> | 6 #include <QTranslator> |
6 #include <QLocale> | 7 #include <QLocale> |
9 | 10 |
10 int main(int argc, char** argv) { | 11 int main(int argc, char** argv) { |
11 QApplication app(argc, argv); | 12 QApplication app(argc, argv); |
12 | 13 |
13 session.config.Load(); | 14 session.config.Load(); |
15 session.config.locale.RefreshAvailableLocales(); | |
16 Anime::db.LoadDatabaseFromDisk(); | |
14 | 17 |
15 MainWindow window; | 18 MainWindow window; |
16 | 19 |
17 window.resize(941, 750); | 20 window.resize(941, 750); |
18 window.setWindowTitle("Minori"); | 21 window.setWindowTitle("Minori"); |