From 21233f9312d0f0d9b85fc00a220bd42605fa3c78 Mon Sep 17 00:00:00 2001 From: Collecting Date: Tue, 23 Dec 2025 01:13:23 +0000 Subject: [PATCH] fix(UI): Overhaul Rainbow Mode architecture Signed-off-by: Collecting --- src/citron/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/citron/main.cpp b/src/citron/main.cpp index e1458fe59..b7d90338b 100644 --- a/src/citron/main.cpp +++ b/src/citron/main.cpp @@ -178,6 +178,7 @@ static FileSys::VirtualFile VfsDirectoryCreateFileWrapper(const FileSys::Virtual #include "citron/main.h" #include "citron/play_time_manager.h" #include "citron/startup_checks.h" +#include "citron/util/rainbow_style.h" #include "citron/uisettings.h" #ifdef CITRON_USE_AUTO_UPDATER #include "citron/updater/updater_dialog.h" @@ -6209,7 +6210,9 @@ int main(int argc, char* argv[]) { setlocale(LC_ALL, "C"); GMainWindow main_window{std::move(config), has_broken_vulkan}; - // After settings have been loaded by GMainWindow, apply the filter + + app.setStyle(new RainbowStyle(app.style())); + main_window.show(); QObject::connect(&app, &QGuiApplication::applicationStateChanged, &main_window,