diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-19 17:16:21 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-19 17:16:23 +0200 |
commit | 05235ccaa96c26a56a4a3c3af70ec446e785dba7 (patch) | |
tree | fda7b1468e66193a2051ce1982614fc6998a367f | |
parent | yuzu/configuration/configure_audio: Store power on query into a variable (diff) | |
download | yuzu-05235ccaa96c26a56a4a3c3af70ec446e785dba7.tar yuzu-05235ccaa96c26a56a4a3c3af70ec446e785dba7.tar.gz yuzu-05235ccaa96c26a56a4a3c3af70ec446e785dba7.tar.bz2 yuzu-05235ccaa96c26a56a4a3c3af70ec446e785dba7.tar.lz yuzu-05235ccaa96c26a56a4a3c3af70ec446e785dba7.tar.xz yuzu-05235ccaa96c26a56a4a3c3af70ec446e785dba7.tar.zst yuzu-05235ccaa96c26a56a4a3c3af70ec446e785dba7.zip |
-rw-r--r-- | src/yuzu/configuration/configure_gamelist.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/yuzu/configuration/configure_gamelist.cpp b/src/yuzu/configuration/configure_gamelist.cpp index ae8cac243..6f0d75605 100644 --- a/src/yuzu/configuration/configure_gamelist.cpp +++ b/src/yuzu/configuration/configure_gamelist.cpp @@ -100,13 +100,15 @@ void ConfigureGameList::RetranslateUI() { void ConfigureGameList::InitializeIconSizeComboBox() { for (const auto& size : default_icon_sizes) { - ui->icon_size_combobox->addItem(size.second, size.first); + ui->icon_size_combobox->addItem(QString::fromUtf8(size.second), size.first); } } void ConfigureGameList::InitializeRowComboBoxes() { for (std::size_t i = 0; i < row_text_names.size(); ++i) { - ui->row_1_text_combobox->addItem(row_text_names[i], QVariant::fromValue(i)); - ui->row_2_text_combobox->addItem(row_text_names[i], QVariant::fromValue(i)); + const QString row_text_name = QString::fromUtf8(row_text_names[i]); + + ui->row_1_text_combobox->addItem(row_text_name, QVariant::fromValue(i)); + ui->row_2_text_combobox->addItem(row_text_name, QVariant::fromValue(i)); } } |