Further improvements to the translation system

This commit is contained in:
Alexander Babikov
2024-11-13 19:42:27 +05:00
parent 6110a60f14
commit 83064c6e21
4 changed files with 24 additions and 33 deletions

View File

@@ -119,7 +119,7 @@ SettingsSound::onCurrentMachineChanged(const int machineId)
}
if (midi_out_device_available(c)) {
int row = Models::AddEntry(model, tr(name.toUtf8().data()), c);
int row = Models::AddEntry(model, name, c);
if (c == midi_output_device_current) {
selectedRow = row - removeRows;
}
@@ -142,7 +142,7 @@ SettingsSound::onCurrentMachineChanged(const int machineId)
}
if (midi_in_device_available(c)) {
int row = Models::AddEntry(model, tr(name.toUtf8().data()), c);
int row = Models::AddEntry(model, name, c);
if (c == midi_input_device_current) {
selectedRow = row - removeRows;
}