Qt: Translate button names in auto-fire config

This commit is contained in:
Connor McLaughlin 2021-05-18 03:06:09 +10:00
parent 3e3b691a86
commit 549b5e8af0
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ void ControllerSettingsWidget::createPortBindingSettingsUi(int index, PortSettin
QStringList option_list;
option_list.push_back(QString());
for (const auto& [button_name, button_code] : buttons)
option_list.push_back(QString::fromStdString(button_name));
option_list.push_back(qApp->translate(cname, button_name.c_str()));
for (u32 autofire_index = 0; autofire_index < QtHostInterface::NUM_CONTROLLER_AUTOFIRE_BUTTONS; autofire_index++)
{