summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-19 17:08:54 +0200
committerLioncash <mathew1800@gmail.com>2019-05-19 17:08:56 +0200
commitd184224e8fceee33ac4ab188b8acb75d1a5208b4 (patch)
tree5a72e8515dfb0552d72633f8b2170239c6a67e89
parentMerge pull request #2463 from lioncash/set (diff)
downloadyuzu-d184224e8fceee33ac4ab188b8acb75d1a5208b4.tar
yuzu-d184224e8fceee33ac4ab188b8acb75d1a5208b4.tar.gz
yuzu-d184224e8fceee33ac4ab188b8acb75d1a5208b4.tar.bz2
yuzu-d184224e8fceee33ac4ab188b8acb75d1a5208b4.tar.lz
yuzu-d184224e8fceee33ac4ab188b8acb75d1a5208b4.tar.xz
yuzu-d184224e8fceee33ac4ab188b8acb75d1a5208b4.tar.zst
yuzu-d184224e8fceee33ac4ab188b8acb75d1a5208b4.zip
-rw-r--r--src/yuzu/configuration/configure_audio.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/configuration/configure_audio.cpp b/src/yuzu/configuration/configure_audio.cpp
index 5d9ccc6e8..a407011f0 100644
--- a/src/yuzu/configuration/configure_audio.cpp
+++ b/src/yuzu/configuration/configure_audio.cpp
@@ -16,9 +16,9 @@ ConfigureAudio::ConfigureAudio(QWidget* parent)
ui->setupUi(this);
ui->output_sink_combo_box->clear();
- ui->output_sink_combo_box->addItem("auto");
+ ui->output_sink_combo_box->addItem(QString::fromUtf8(AudioCore::auto_device_name));
for (const char* id : AudioCore::GetSinkIDs()) {
- ui->output_sink_combo_box->addItem(id);
+ ui->output_sink_combo_box->addItem(QString::fromUtf8(id));
}
connect(ui->volume_slider, &QSlider::valueChanged, this,
@@ -94,7 +94,7 @@ void ConfigureAudio::applyConfiguration() {
void ConfigureAudio::updateAudioDevices(int sink_index) {
ui->audio_device_combo_box->clear();
- ui->audio_device_combo_box->addItem(AudioCore::auto_device_name);
+ ui->audio_device_combo_box->addItem(QString::fromUtf8(AudioCore::auto_device_name));
const std::string sink_id = ui->output_sink_combo_box->itemText(sink_index).toStdString();
for (const auto& device : AudioCore::GetDeviceListForSink(sink_id)) {