/[svn]/qsampler/trunk/src/qsamplerInstrumentForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerInstrumentForm.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1466 by capela, Thu Nov 1 19:25:10 2007 UTC revision 1474 by schoenebeck, Mon Nov 5 20:47:38 2007 UTC
# Line 64  InstrumentForm::InstrumentForm(QWidget* Line 64  InstrumentForm::InstrumentForm(QWidget*
64                  SIGNAL(valueChanged(int)),                  SIGNAL(valueChanged(int)),
65                  SLOT(changed()));                  SLOT(changed()));
66          QObject::connect(ui.NameLineEdit,          QObject::connect(ui.NameLineEdit,
67                  SIGNAL(textChanged(const QString&)),                  SIGNAL(textChanged(const QString&)),
68                  SLOT(nameChanged(const QString&)));                  SLOT(nameChanged(const QString&)));
69          QObject::connect(ui.EngineNameComboBox,          QObject::connect(ui.EngineNameComboBox,
70                  SIGNAL(activated(int)),                  SIGNAL(activated(int)),
71                  SLOT(changed()));                  SLOT(changed()));
72          QObject::connect(ui.InstrumentFileComboBox,          QObject::connect(ui.InstrumentFileComboBox,
73                  SIGNAL(activated(const QString&)),                  SIGNAL(activated(const QString&)),
74                  SLOT(updateInstrumentName()));                  SLOT(updateInstrumentName()));
75          QObject::connect(ui.InstrumentFileToolButton,          QObject::connect(ui.InstrumentFileToolButton,
76                  SIGNAL(clicked()),                  SIGNAL(clicked()),
# Line 179  void InstrumentForm::setup ( qsamplerIns Line 179  void InstrumentForm::setup ( qsamplerIns
179          if (sEngineName.isEmpty())          if (sEngineName.isEmpty())
180                  sEngineName = qsamplerChannel::noEngineName();                  sEngineName = qsamplerChannel::noEngineName();
181          if (ui.EngineNameComboBox->findText(sEngineName,          if (ui.EngineNameComboBox->findText(sEngineName,
182                          Qt::MatchExactly | Qt::MatchCaseSensitive) == 0) {                          Qt::MatchExactly | Qt::MatchCaseSensitive) < 0) {
183                  ui.EngineNameComboBox->insertItem(sEngineName);                  ui.EngineNameComboBox->insertItem(sEngineName);
184          }          }
185          ui.EngineNameComboBox->setCurrentText(sEngineName);          ui.EngineNameComboBox->setCurrentText(sEngineName);

Legend:
Removed from v.1466  
changed lines
  Added in v.1474

  ViewVC Help
Powered by ViewVC