mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 03:46:42 +01:00
DolphinQt: Set the theme before constructing the MainWindow, some panels that explicitly request palette colors get the wrong colors otherwise.
This commit is contained in:
parent
d725aaa5bc
commit
c2e29153e9
@ -245,10 +245,11 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
DolphinAnalytics::Instance().ReportDolphinStart("qt");
|
DolphinAnalytics::Instance().ReportDolphinStart("qt");
|
||||||
|
|
||||||
MainWindow win{std::move(boot), static_cast<const char*>(options.get("movie"))};
|
|
||||||
Settings::Instance().InitDefaultPalette();
|
Settings::Instance().InitDefaultPalette();
|
||||||
Settings::Instance().UpdateSystemDark();
|
Settings::Instance().UpdateSystemDark();
|
||||||
Settings::Instance().SetCurrentUserStyle(Settings::Instance().GetCurrentUserStyle());
|
Settings::Instance().SetCurrentUserStyle(Settings::Instance().GetCurrentUserStyle());
|
||||||
|
|
||||||
|
MainWindow win{std::move(boot), static_cast<const char*>(options.get("movie"))};
|
||||||
win.Show();
|
win.Show();
|
||||||
|
|
||||||
#if defined(USE_ANALYTICS) && USE_ANALYTICS
|
#if defined(USE_ANALYTICS) && USE_ANALYTICS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user