comparison 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
comparison
equal deleted inserted replaced
222:b9f111d84d95 229:adc20fa321c1
8 8
9 Session session; 9 Session session;
10 10
11 int main(int argc, char** argv) { 11 int main(int argc, char** argv) {
12 QApplication app(argc, argv); 12 QApplication app(argc, argv);
13 #if !(defined(WIN32) || defined(MACOSX))
14 /* force Fusion */
15 app.setStyle("Fusion");
16 #endif
13 17
14 session.config.Load(); 18 session.config.Load();
15 session.config.locale.RefreshAvailableLocales(); 19 session.config.locale.RefreshAvailableLocales();
16 Anime::db.LoadDatabaseFromDisk(); 20 Anime::db.LoadDatabaseFromDisk();
17 21