123 |
sInstrumentFile = tr("(No instrument)"); |
sInstrumentFile = tr("(No instrument)"); |
124 |
InstrumentFileComboBox->setCurrentText(sInstrumentFile); |
InstrumentFileComboBox->setCurrentText(sInstrumentFile); |
125 |
InstrumentNrComboBox->clear(); |
InstrumentNrComboBox->clear(); |
126 |
InstrumentNrComboBox->insertStringList(qsamplerChannel::getInstrumentList(sInstrumentFile)); |
InstrumentNrComboBox->insertStringList( |
127 |
|
qsamplerChannel::getInstrumentList(sInstrumentFile, |
128 |
|
pOptions->bInstrumentNames)); |
129 |
InstrumentNrComboBox->setCurrentItem(pChannel->instrumentNr()); |
InstrumentNrComboBox->setCurrentItem(pChannel->instrumentNr()); |
130 |
// MIDI input driver... |
// MIDI input driver... |
131 |
QString sMidiDriver = pChannel->midiDriver(); |
QString sMidiDriver = pChannel->midiDriver(); |
270 |
// to retrieve the REAL instrument names. |
// to retrieve the REAL instrument names. |
271 |
InstrumentNrComboBox->clear(); |
InstrumentNrComboBox->clear(); |
272 |
InstrumentNrComboBox->insertStringList( |
InstrumentNrComboBox->insertStringList( |
273 |
qsamplerChannel::getInstrumentList(InstrumentFileComboBox->currentText()) |
qsamplerChannel::getInstrumentList( |
274 |
|
InstrumentFileComboBox->currentText(), |
275 |
|
pOptions->bInstrumentNames) |
276 |
); |
); |
277 |
|
|
278 |
optionsChanged(); |
optionsChanged(); |