diff src/main.cc @ 250:c130f47f6f48

*: many many changes e.g. the search page is actually implemented now!
author Paper <paper@paper.us.eu.org>
date Sun, 04 Feb 2024 21:17:17 -0500
parents 4d461ef7d424
children 862d0d8619f6
line wrap: on
line diff
--- a/src/main.cc	Wed Jan 24 20:18:59 2024 -0500
+++ b/src/main.cc	Sun Feb 04 21:17:17 2024 -0500
@@ -1,7 +1,9 @@
 #include "core/session.h"
 #include "core/anime_db.h"
 #include "core/strings.h"
+#include "services/anilist.h"
 #include "gui/window.h"
+
 #include <QApplication>
 #include <QStyleFactory>
 #include <QTranslator>
@@ -13,10 +15,11 @@
 
 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();
-	session.config.locale.RefreshAvailableLocales();
 	Anime::db.LoadDatabaseFromDisk();
 
 	MainWindow window;