diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-08-01 20:14:03 +0200 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-08-12 16:54:54 +0200 |
| commit | c2e29153e9e1e831f4b29bbc7e19ebf39d18bc79 (patch) | |
| tree | fc4ece5e841a6464b3d5347c469be85481cbf41d /Source/Core | |
| parent | d725aaa5bcb6760522997a3ba43676c88b341d63 (diff) | |
DolphinQt: Set the theme before constructing the MainWindow, some panels that explicitly request palette colors get the wrong colors otherwise.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/Main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<const char*>(options.get("movie"))}; Settings::Instance().InitDefaultPalette(); Settings::Instance().UpdateSystemDark(); Settings::Instance().SetCurrentUserStyle(Settings::Instance().GetCurrentUserStyle()); + + MainWindow win{std::move(boot), static_cast<const char*>(options.get("movie"))}; win.Show(); #if defined(USE_ANALYTICS) && USE_ANALYTICS |
