181 |
if (m_pChannel->instrumentFile().isEmpty()) |
if (m_pChannel->instrumentFile().isEmpty()) |
182 |
InstrumentNameTextLabel->setText(sIndent + tr("(No instrument)")); |
InstrumentNameTextLabel->setText(sIndent + tr("(No instrument)")); |
183 |
else |
else |
184 |
InstrumentNameTextLabel->setText(sIndent + QString("%1 [%2]") |
InstrumentNameTextLabel->setText(sIndent + qsamplerChannel::getInstrumentName(m_pChannel->instrumentFile(), m_pChannel->instrumentNr())); |
|
.arg(QFileInfo(m_pChannel->instrumentFile()).fileName()).arg(m_pChannel->instrumentNr())); |
|
185 |
|
|
186 |
// Instrument status... |
// Instrument status... |
187 |
int iInstrumentStatus = m_pChannel->instrumentStatus(); |
int iInstrumentStatus = m_pChannel->instrumentStatus(); |