From e8e8fd9ffa97dd61f2b47cd90bff9b8ad4ca7b57 Mon Sep 17 00:00:00 2001 From: Silent Date: Sat, 23 Jan 2021 22:02:10 +0100 Subject: [PATCH] InputBindingDialog: Allow to translate the Close button --- src/duckstation-qt/inputbindingdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/duckstation-qt/inputbindingdialog.cpp b/src/duckstation-qt/inputbindingdialog.cpp index 053245848..e7a996ad6 100644 --- a/src/duckstation-qt/inputbindingdialog.cpp +++ b/src/duckstation-qt/inputbindingdialog.cpp @@ -20,6 +20,7 @@ InputBindingDialog::InputBindingDialog(QtHostInterface* host_interface, std::str m_ui.setupUi(this); m_ui.title->setText( tr("Bindings for %1 %2").arg(QString::fromStdString(m_section_name)).arg(QString::fromStdString(m_key_name))); + m_ui.buttonBox->button(QDialogButtonBox::Close)->setText(tr("Close")); connect(m_ui.addBinding, &QPushButton::clicked, this, &InputBindingDialog::onAddBindingButtonClicked); connect(m_ui.removeBinding, &QPushButton::clicked, this, &InputBindingDialog::onRemoveBindingButtonClicked);