Mercurial > minori
view src/main.cc @ 230:2f5a9247e501
torrents: implement download button
erg
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sat, 13 Jan 2024 09:42:02 -0500 |
parents | adc20fa321c1 |
children | 4d461ef7d424 |
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); #if !(defined(WIN32) || defined(MACOSX)) /* force Fusion */ app.setStyle("Fusion"); #endif session.config.Load(); session.config.locale.RefreshAvailableLocales(); Anime::db.LoadDatabaseFromDisk(); MainWindow window; window.resize(941, 750); window.setWindowTitle("Minori"); window.show(); return app.exec(); }