diff src/main.cc @ 108:2004b41d4a59

*: huge commit 1. WORKING LOCALIZATION + translation for Spanish and British English 2. idk like 2 changes for the dark theme :)
author Paper <mrpapersonic@gmail.com>
date Sun, 05 Nov 2023 23:31:49 -0500
parents 582b2fca1561
children 39521c47c7a3
line wrap: on
line diff
--- a/src/main.cc	Sun Nov 05 17:44:49 2023 -0500
+++ b/src/main.cc	Sun Nov 05 23:31:49 2023 -0500
@@ -2,14 +2,13 @@
 #include "gui/window.h"
 #include <QApplication>
 #include <QStyleFactory>
+#include <QTranslator>
 #include <QLocale>
 
 Session session;
 
 int main(int argc, char** argv) {
 	QApplication app(argc, argv);
-	/* this is a reasonable default, I presume */
-	QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
 
 	session.config.Load();