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:
parent
05235ccaa9
commit
7e650088dd
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue