--- qsampler/trunk/src/qsamplerChannelStrip.ui.h 2004/11/17 13:05:42 298 +++ qsampler/trunk/src/qsamplerChannelStrip.ui.h 2004/11/17 15:41:58 299 @@ -181,8 +181,7 @@ if (m_pChannel->instrumentFile().isEmpty()) InstrumentNameTextLabel->setText(sIndent + tr("(No instrument)")); else - InstrumentNameTextLabel->setText(sIndent + QString("%1 [%2]") - .arg(QFileInfo(m_pChannel->instrumentFile()).fileName()).arg(m_pChannel->instrumentNr())); + InstrumentNameTextLabel->setText(sIndent + qsamplerChannel::getInstrumentName(m_pChannel->instrumentFile(), m_pChannel->instrumentNr())); // Instrument status... int iInstrumentStatus = m_pChannel->instrumentStatus();