Mercurial > minori
view src/main.cc @ 135:0a458cb26ff4
filesystem: move to using std::filesystem after C++17 switch
old compilers will croak compiling this, but it's not like we
*really* need to support them (they probably croak compiling
Qt as well)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 09 Nov 2023 18:01:56 -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(); }