diff src/main.cc @ 98:582b2fca1561

strings: parse HTML entities when reading synopsis, make the toupper and tolower functions more sane
author Paper <mrpapersonic@gmail.com>
date Thu, 02 Nov 2023 15:22:02 -0400
parents 9b2b41f83a5e
children 2004b41d4a59
line wrap: on
line diff
--- a/src/main.cc	Thu Nov 02 13:14:15 2023 -0400
+++ b/src/main.cc	Thu Nov 02 15:22:02 2023 -0400
@@ -2,11 +2,14 @@
 #include "gui/window.h"
 #include <QApplication>
 #include <QStyleFactory>
+#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();