Compare commits

...
Author SHA1 Message Date
Jeremy Rimpo ad18983546 Set 'fusion' as base style
- Fusion already implements light/dark mode switching, the original 'windowsvista' style does not
- Applying the stylesheet on top of Fusion colors the titlebar based on the OS setting
2023-11-29 10:00:02 -06:00
Jeremy Rimpo aa381255a9 Use Windows settings to determine titlebar color 2023-11-29 00:09:00 -06:00
+2
View File
@@ -154,6 +154,7 @@ MOApplication::MOApplication(int& argc, char** argv) : QApplication(argc, argv)
updateStyle(file);
});
setStyle("fusion");
m_defaultStyle = style()->objectName();
setStyle(new ProxyStyle(style()));
addDllsToPath();
@@ -354,6 +355,7 @@ int MOApplication::run(MOMultiProcess& multiProcess)
log::debug("displaying main window");
mainWindow.show();
mainWindow.activateWindow();
splash.close();
tt.stop();