Qt: Don't reset theme when changing language

This commit is contained in:
Connor McLaughlin
2022-07-24 23:17:22 +10:00
parent 7e20a79719
commit bc49e2f627
3 changed files with 27 additions and 12 deletions

View File

@ -2241,6 +2241,9 @@ int main(int argc, char* argv[])
if (!QtHost::ParseCommandLineParametersAndInitializeConfig(app, autoboot))
return EXIT_FAILURE;
// Set theme before creating any windows.
MainWindow::updateApplicationTheme();
// Start up the CPU thread.
MainWindow* main_window = new MainWindow();
QtHost::HookSignals();