diff src/main.cc @ 236:4d461ef7d424

HUGE UPDATE: convert build system to autotools why? because cmake sucks :)
author Paper <mrpapersonic@gmail.com>
date Fri, 19 Jan 2024 00:24:02 -0500
parents adc20fa321c1
children c130f47f6f48
line wrap: on
line diff
--- a/src/main.cc	Tue Jan 16 15:22:29 2024 -0500
+++ b/src/main.cc	Fri Jan 19 00:24:02 2024 -0500
@@ -1,19 +1,19 @@
 #include "core/session.h"
 #include "core/anime_db.h"
+#include "core/strings.h"
 #include "gui/window.h"
 #include <QApplication>
 #include <QStyleFactory>
 #include <QTranslator>
 #include <QLocale>
 
+#include <iostream>
+
 Session session;
 
 int main(int argc, char** argv) {
 	QApplication app(argc, argv);
-#if !(defined(WIN32) || defined(MACOSX))
-	/* force Fusion */
-	app.setStyle("Fusion");
-#endif
+	app.setAttribute(Qt::AA_DontShowIconsInMenus, true);
 
 	session.config.Load();
 	session.config.locale.RefreshAvailableLocales();