3
0
Fork 0
forked from suyu/suyu

yuzu/configuration/configure_general: Specify string conversions explicitly

Allows the general configuration code to successfully compile with
implicit string conversions disabled.
This commit is contained in:
Lioncash 2019-05-19 11:18:13 -04:00
parent 05235ccaa9
commit 7e650088dd

View file

@ -14,7 +14,8 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
ui->setupUi(this); ui->setupUi(this);
for (const auto& theme : UISettings::themes) { for (const auto& theme : UISettings::themes) {
ui->theme_combobox->addItem(theme.first, theme.second); ui->theme_combobox->addItem(QString::fromUtf8(theme.first),
QString::fromUtf8(theme.second));
} }
this->setConfiguration(); this->setConfiguration();