comparison src/main.cc @ 147:6fdf0632c003

track: use a bit of a more sane way to manage recognition it also works with the new animia API
author Paper <mrpapersonic@gmail.com>
date Tue, 14 Nov 2023 13:19:40 -0500
parents 39521c47c7a3
children 9b10175be389
comparison
equal deleted inserted replaced
146:d8a61e7e2a36 147:6fdf0632c003
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"
4 #include <QApplication> 3 #include <QApplication>
5 #include <QStyleFactory> 4 #include <QStyleFactory>
6 #include <QTranslator> 5 #include <QTranslator>
7 #include <QLocale> 6 #include <QLocale>
8 7
10 9
11 int main(int argc, char** argv) { 10 int main(int argc, char** argv) {
12 QApplication app(argc, argv); 11 QApplication app(argc, argv);
13 12
14 session.config.Load(); 13 session.config.Load();
15 Track::Types::LoadPlayers(session.recognition.players);
16 Track::Types::LoadExtensions(session.recognition.extensions);
17 14
18 MainWindow window; 15 MainWindow window;
19 16
20 window.resize(941, 750); 17 window.resize(941, 750);
21 window.setWindowTitle("Minori"); 18 window.setWindowTitle("Minori");