view src/main.cc @ 101:c537996cf67b

*: multitude of config changes 1. theme is now configurable from the settings menu (but you have to restart for it to apply) 2. config is now stored in an INI file, with no method of conversion from json (this repo is private-ish anyway)
author Paper <mrpapersonic@gmail.com>
date Fri, 03 Nov 2023 14:06:02 -0400
parents 582b2fca1561
children 2004b41d4a59
line wrap: on
line source

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

Session session;

int main(int argc, char** argv) {
	QApplication app(argc, argv);
	/* this is a reasonable default, I presume */
	QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));

	session.config.Load();

	MainWindow window;

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

	return app.exec();
}