mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 12:26:18 +00:00
Make button bar translatable in controller/KBM dialog (#2625)
This commit is contained in:
parent
aa22d80c3f
commit
74c2c6c74f
2 changed files with 10 additions and 0 deletions
|
@ -63,6 +63,11 @@ KBMSettings::KBMSettings(std::shared_ptr<GameInfoClass> game_info_get, QWidget*
|
|||
}
|
||||
});
|
||||
|
||||
ui->buttonBox->button(QDialogButtonBox::Save)->setText(tr("Save"));
|
||||
ui->buttonBox->button(QDialogButtonBox::Apply)->setText(tr("Apply"));
|
||||
ui->buttonBox->button(QDialogButtonBox::RestoreDefaults)->setText(tr("Restore Defaults"));
|
||||
ui->buttonBox->button(QDialogButtonBox::Cancel)->setText(tr("Cancel"));
|
||||
|
||||
connect(ui->HelpButton, &QPushButton::clicked, this, &KBMSettings::onHelpClicked);
|
||||
connect(ui->TextEditorButton, &QPushButton::clicked, this, [this]() {
|
||||
auto kbmWindow = new EditorDialog(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue