Assorted string fixes, mostly for consistency.

This commit is contained in:
OBattler
2024-11-10 02:23:21 +01:00
parent a3ad407a21
commit 55b091fb58
13 changed files with 31 additions and 23 deletions

View File

@@ -119,7 +119,7 @@ SettingsSound::onCurrentMachineChanged(const int machineId)
}
if (midi_out_device_available(c)) {
int row = Models::AddEntry(model, name, c);
int row = Models::AddEntry(model, tr(name.toUtf8().data()), 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, name, c);
int row = Models::AddEntry(model, tr(name.toUtf8().data()), c);
if (c == midi_input_device_current) {
selectedRow = row - removeRows;
}