view src/main.cc @ 218:c39ad2a8587d

strings: include cstdint oops
author Paper <mrpapersonic@gmail.com>
date Sun, 07 Jan 2024 13:28:00 -0500
parents 975a3f0965e2
children adc20fa321c1
line wrap: on
line source

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

Session session;

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

	session.config.Load();
	session.config.locale.RefreshAvailableLocales();
	Anime::db.LoadDatabaseFromDisk();

	MainWindow window;

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

	return app.exec();
}