view src/main.cc @ 122:bc218c9d2ea6

strings: convert ToInt() to be a template ini: conform to new strings.cc changes
author Paper <mrpapersonic@gmail.com>
date Wed, 08 Nov 2023 21:36:09 -0500
parents 39521c47c7a3
children 6fdf0632c003
line wrap: on
line source

#include "core/session.h"
#include "gui/window.h"
#include "track/types.h"
#include <QApplication>
#include <QStyleFactory>
#include <QTranslator>
#include <QLocale>

Session session;

int main(int argc, char** argv) {
	QApplication app(argc, argv);

	session.config.Load();
	Track::Types::LoadPlayers(session.recognition.players);
	Track::Types::LoadExtensions(session.recognition.extensions);

	MainWindow window;

	window.resize(941, 750);
	window.setWindowTitle("Minori");
	window.show();

	return app.exec();
}