From c2e29153e9e1e831f4b29bbc7e19ebf39d18bc79 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Tue, 1 Aug 2023 20:14:03 +0200 Subject: [PATCH] DolphinQt: Set the theme before constructing the MainWindow, some panels that explicitly request palette colors get the wrong colors otherwise. --- Source/Core/DolphinQt/Main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Main.cpp b/Source/Core/DolphinQt/Main.cpp index 3cf943b17b..39aa5c6f1f 100644 --- a/Source/Core/DolphinQt/Main.cpp +++ b/Source/Core/DolphinQt/Main.cpp @@ -245,10 +245,11 @@ int main(int argc, char* argv[]) { DolphinAnalytics::Instance().ReportDolphinStart("qt"); - MainWindow win{std::move(boot), static_cast(options.get("movie"))}; Settings::Instance().InitDefaultPalette(); Settings::Instance().UpdateSystemDark(); Settings::Instance().SetCurrentUserStyle(Settings::Instance().GetCurrentUserStyle()); + + MainWindow win{std::move(boot), static_cast(options.get("movie"))}; win.Show(); #if defined(USE_ANALYTICS) && USE_ANALYTICS