mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 23:25:41 +00:00
Qt: Fix theme selection
This commit is contained in:
parent
d6cf88c14f
commit
d366697141
|
@ -2044,7 +2044,7 @@ void MainWindow::connectSignals()
|
||||||
|
|
||||||
for (u32 i = 0; GeneralSettingsWidget::THEME_NAMES[i]; i++)
|
for (u32 i = 0; GeneralSettingsWidget::THEME_NAMES[i]; i++)
|
||||||
{
|
{
|
||||||
const QString key = QString::fromUtf8(GeneralSettingsWidget::THEME_NAMES[i]);
|
const QString key = QString::fromUtf8(GeneralSettingsWidget::THEME_VALUES[i]);
|
||||||
QAction* action =
|
QAction* action =
|
||||||
m_ui.menuSettingsTheme->addAction(qApp->translate("MainWindow", GeneralSettingsWidget::THEME_NAMES[i]));
|
m_ui.menuSettingsTheme->addAction(qApp->translate("MainWindow", GeneralSettingsWidget::THEME_NAMES[i]));
|
||||||
action->setCheckable(true);
|
action->setCheckable(true);
|
||||||
|
|
Loading…
Reference in a new issue