Qt: Fix a couple of theme switching glitches

This commit is contained in:
Stenzek
2024-08-18 13:22:58 +10:00
parent 9d7a3b10c2
commit 6f9e8efee5
11 changed files with 319 additions and 268 deletions

View File

@@ -198,7 +198,7 @@ void SetupWizardDialog::setupLanguagePage()
void SetupWizardDialog::themeChanged()
{
// Main window gets recreated at the end here anyway, so it's fine to just yolo it.
MainWindow::updateApplicationTheme();
QtHost::UpdateApplicationTheme();
}
void SetupWizardDialog::languageChanged()
@@ -441,6 +441,10 @@ void SetupWizardDialog::setupControllerPage(bool initial)
}
}
void SetupWizardDialog::updateStylesheets()
{
}
void SetupWizardDialog::openAutomaticMappingMenu(u32 port, QLabel* update_label)
{
QMenu menu(this);