113 |
if (sEngineName.isEmpty() && bNew) |
if (sEngineName.isEmpty() && bNew) |
114 |
sEngineName = pOptions->sEngineName; |
sEngineName = pOptions->sEngineName; |
115 |
if (sEngineName.isEmpty()) |
if (sEngineName.isEmpty()) |
116 |
sEngineName = tr("(No engine)"); |
sEngineName = qsamplerChannel::noEngineName(); |
117 |
if (EngineNameComboBox->listBox()->findItem(sEngineName, Qt::ExactMatch) == NULL) |
if (EngineNameComboBox->listBox()->findItem(sEngineName, Qt::ExactMatch) == NULL) |
118 |
EngineNameComboBox->insertItem(sEngineName); |
EngineNameComboBox->insertItem(sEngineName); |
119 |
EngineNameComboBox->setCurrentText(sEngineName); |
EngineNameComboBox->setCurrentText(sEngineName); |
120 |
// Instrument filename and index... |
// Instrument filename and index... |
121 |
QString sInstrumentFile = pChannel->instrumentFile(); |
QString sInstrumentFile = pChannel->instrumentFile(); |
122 |
if (sInstrumentFile.isEmpty()) |
if (sInstrumentFile.isEmpty()) |
123 |
sInstrumentFile = tr("(No instrument)"); |
sInstrumentFile = qsamplerChannel::noInstrumentName(); |
124 |
InstrumentFileComboBox->setCurrentText(sInstrumentFile); |
InstrumentFileComboBox->setCurrentText(sInstrumentFile); |
125 |
InstrumentNrComboBox->clear(); |
InstrumentNrComboBox->clear(); |
126 |
InstrumentNrComboBox->insertStringList( |
InstrumentNrComboBox->insertStringList( |