mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-13 14:57:32 +00:00
Qt: Translate button names in auto-fire config
This commit is contained in:
parent
3e3b691a86
commit
549b5e8af0
@ -463,7 +463,7 @@ void ControllerSettingsWidget::createPortBindingSettingsUi(int index, PortSettin
|
|||||||
QStringList option_list;
|
QStringList option_list;
|
||||||
option_list.push_back(QString());
|
option_list.push_back(QString());
|
||||||
for (const auto& [button_name, button_code] : buttons)
|
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++)
|
for (u32 autofire_index = 0; autofire_index < QtHostInterface::NUM_CONTROLLER_AUTOFIRE_BUTTONS; autofire_index++)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user