From 3f4f9ad5f1008336a73eb8987c01f9ccc3efc73c Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Tue, 20 Dec 2022 23:21:11 +1000 Subject: [PATCH] Qt: Fix global string list setting not showing in input profiles --- pcsx2-qt/Settings/ControllerBindingWidgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2-qt/Settings/ControllerBindingWidgets.cpp b/pcsx2-qt/Settings/ControllerBindingWidgets.cpp index a711c65be2..f3a24ce31d 100644 --- a/pcsx2-qt/Settings/ControllerBindingWidgets.cpp +++ b/pcsx2-qt/Settings/ControllerBindingWidgets.cpp @@ -636,7 +636,7 @@ void ControllerCustomSettingsWidget::createSettingWidgets(const char* translatio else if (si.options) { for (u32 i = 0; si.options[i] != nullptr; i++) - cb->addItem(qApp->translate(translation_ctx, si.options[i])); + cb->addItem(qApp->translate(translation_ctx, si.options[i]), QString::fromUtf8(si.options[i])); } SettingWidgetBinder::BindWidgetToStringSetting(sif, cb, m_config_section, std::move(key_name), si.StringDefaultValue()); layout->addWidget(new QLabel(qApp->translate(translation_ctx, si.display_name), widget_parent), current_row, 0);