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

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

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

revision 1505 by capela, Wed Nov 21 18:37:40 2007 UTC revision 1506 by schoenebeck, Wed Nov 21 19:57:18 2007 UTC
# Line 763  void ChannelForm::optionsChanged (void) Line 763  void ChannelForm::optionsChanged (void)
763  // Stabilize current form state.  // Stabilize current form state.
764  void ChannelForm::stabilizeForm (void)  void ChannelForm::stabilizeForm (void)
765  {  {
766          bool bValid = true;          const bool bValid =
767                    ui.EngineNameComboBox->currentIndex() >= 0 &&
768                    ui.EngineNameComboBox->currentText() !=
769                    qsamplerChannel::noEngineName();
770  #if 0  #if 0
771          const QString& sPath = InstrumentFileComboBox->currentText();          const QString& sPath = InstrumentFileComboBox->currentText();
772          bValid = bValid && !sPath.isEmpty() && QFileInfo(sPath).exists();          bValid = bValid && !sPath.isEmpty() && QFileInfo(sPath).exists();

Legend:
Removed from v.1505  
changed lines
  Added in v.1506

  ViewVC Help
Powered by ViewVC