diff src/main.cc @ 229:adc20fa321c1

theme: force Fusion style on platforms other than Win32 or OS X I was reluctant to do this, but most of the other styles just look like pure shite regardless of whether I force a stylesheet on them or not. KDE's style is actually hilariously bad paired with my stylesheet, so I've decided to also make the stylesheet Windows-specific as well, because that's really the only platform where it makes sense in the first place.
author Paper <paper@paper.us.eu.org>
date Wed, 10 Jan 2024 21:23:57 -0500
parents 975a3f0965e2
children 4d461ef7d424
line wrap: on
line diff
--- a/src/main.cc	Mon Jan 08 13:22:09 2024 -0500
+++ b/src/main.cc	Wed Jan 10 21:23:57 2024 -0500
@@ -10,6 +10,10 @@
 
 int main(int argc, char** argv) {
 	QApplication app(argc, argv);
+#if !(defined(WIN32) || defined(MACOSX))
+	/* force Fusion */
+	app.setStyle("Fusion");
+#endif
 
 	session.config.Load();
 	session.config.locale.RefreshAvailableLocales();