Qt: Don't reset theme when changing language
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user