comparison src/main.cc @ 118:39521c47c7a3

*: another huge megacommit, SORRY The torrents page works a lot better now Added the edit option to the anime list right click menu Vectorized currently playing files Available player and extensions are now loaded at runtime from files in (dotpath)/players.json and (dotpath)/extensions.json These paths are not permanent and will likely be moved to (dotpath)/recognition ... ... ...
author Paper <mrpapersonic@gmail.com>
date Tue, 07 Nov 2023 23:40:54 -0500
parents 2004b41d4a59
children 6fdf0632c003
comparison
equal deleted inserted replaced
117:2c1b6782e1d0 118:39521c47c7a3
1 #include "core/session.h" 1 #include "core/session.h"
2 #include "gui/window.h" 2 #include "gui/window.h"
3 #include "track/types.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>
7 8
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 Track::Types::LoadPlayers(session.recognition.players);
16 Track::Types::LoadExtensions(session.recognition.extensions);
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");