Преглед на файлове

yuzu/configuration/configure_general: Specify string conversions explicitly

Allows the general configuration code to successfully compile with
implicit string conversions disabled.
Lioncash преди 7 години
родител
ревизия
7e650088dd
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/yuzu/configuration/configure_general.cpp

+ 2 - 1
src/yuzu/configuration/configure_general.cpp

@@ -14,7 +14,8 @@ ConfigureGeneral::ConfigureGeneral(QWidget* parent)
     ui->setupUi(this);
 
     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();