comparison src/main.cc @ 175:9b10175be389

dep/json: update to v3.11.3 anime/db: save anime list to database, very much untested and likely won't work as intended
author Paper <mrpapersonic@gmail.com>
date Thu, 30 Nov 2023 13:52:26 -0500
parents 6fdf0632c003
children 122fad646f81
comparison
equal deleted inserted replaced
174:f88eda79c60a 175:9b10175be389
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 Anime::db.LoadDatabaseFromFile();
14 16
15 MainWindow window; 17 MainWindow window;
16 18
17 window.resize(941, 750); 19 window.resize(941, 750);
18 window.setWindowTitle("Minori"); 20 window.setWindowTitle("Minori");