2 |
// |
// |
3 |
// ui.h extension file, included from the uic-generated form implementation. |
// ui.h extension file, included from the uic-generated form implementation. |
4 |
/**************************************************************************** |
/**************************************************************************** |
5 |
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
|
7 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
163 |
EngineNameTextLabel->setText(sIndent + m_pChannel->engineName()); |
EngineNameTextLabel->setText(sIndent + m_pChannel->engineName()); |
164 |
|
|
165 |
// Instrument name... |
// Instrument name... |
166 |
if (m_pChannel->instrumentFile().isEmpty()) |
if (m_pChannel->instrumentName().isEmpty()) |
167 |
InstrumentNameTextLabel->setText(sIndent + tr("(No instrument)")); |
InstrumentNameTextLabel->setText(sIndent + tr("(No instrument)")); |
168 |
else |
else |
169 |
InstrumentNameTextLabel->setText(sIndent + qsamplerChannel::getInstrumentName(m_pChannel->instrumentFile(), m_pChannel->instrumentNr())); |
InstrumentNameTextLabel->setText(sIndent + m_pChannel->instrumentName()); |
170 |
|
|
171 |
// Instrument status... |
// Instrument status... |
172 |
int iInstrumentStatus = m_pChannel->instrumentStatus(); |
int iInstrumentStatus = m_pChannel->instrumentStatus(); |