Mercurial > minori
view src/main.cc @ 150:ffa535b6d630
*: avoid usage of std::[pair,tuple]
https://arne-mertz.de/2017/03/smelly-pair-tuple/
it's better to use real structures and such where variables are easily known...
also apparently using [] on structs is actually valid? I had no idea.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 14 Nov 2023 16:27:33 -0500 |
parents | 6fdf0632c003 |
children | 9b10175be389 |
line wrap: on
line source
#include "core/session.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(); MainWindow window; window.resize(941, 750); window.setWindowTitle("Minori"); window.show(); return app.exec(); }