Mercurial > minori
view src/main.cc @ 306:f4538a4c91ba
cleanup: remove extraneous executable flags
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 19 May 2024 17:48:52 -0400 |
parents | f31305b9f60a |
children | 34347fd2a2de |
line wrap: on
line source
#include "core/anime_db.h" #include "core/session.h" #include "core/strings.h" #include "gui/window.h" #include "services/anilist.h" #include <QApplication> #include <QLocale> #include <QStyleFactory> #include <QTranslator> #include <iostream> Session session; int main(int argc, char** argv) { QApplication app(argc, argv); app.setApplicationName("minori"); app.setApplicationDisplayName("Minori"); app.setAttribute(Qt::AA_DontShowIconsInMenus, true); qRegisterMetaType<std::vector<std::string>>(); /* window.cc */ qRegisterMetaType<std::vector<int>>(); /* search.cc */ session.config.Load(); Anime::db.LoadDatabaseFromDisk(); MainWindow window; window.resize(941, 750); window.setWindowTitle("Minori"); window.show(); return app.exec(); }