Mercurial > minori
view src/main.cc @ 266:1a6a5d3a94cd
dep/animone: make bsd.cc and x11.cc actually work
apparently I broke these, and even now the x11 code *still* doesn't want
to work correctly (at least on FreeBSD). half of the PID response codes
are just 0 or the PID for the X server itself... wtf?
maybe dwm just doesn't support the XRes extension, or I'm just stupid.
i don't know.
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 11 Apr 2024 22:05:41 -0400 |
parents | 862d0d8619f6 |
children | f31305b9f60a |
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); session.config.Load(); Anime::db.LoadDatabaseFromDisk(); MainWindow window; window.resize(941, 750); window.setWindowTitle("Minori"); window.show(); return app.exec(); }