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

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

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

revision 3897 by capela, Thu Feb 4 10:09:42 2021 UTC revision 3898 by capela, Tue May 11 08:58:49 2021 UTC
# Line 582  const ChannelRoutingMap& Channel::audioR Line 582  const ChannelRoutingMap& Channel::audioR
582  void Channel::updateInstrumentName (void)  void Channel::updateInstrumentName (void)
583  {  {
584  #ifndef CONFIG_INSTRUMENT_NAME  #ifndef CONFIG_INSTRUMENT_NAME
585            Options *pOptions = nullptr;
586            MainForm *pMainForm = MainForm::getInstance();
587            if (pMainForm)
588                    pOptions = pMainForm->options();
589          m_sInstrumentName = getInstrumentName(m_sInstrumentFile,          m_sInstrumentName = getInstrumentName(m_sInstrumentFile,
590                  m_iInstrumentNr, (options() && options()->bInstrumentNames));                  m_iInstrumentNr, (pOptions && pOptions->bInstrumentNames));
591  #endif  #endif
592  }  }
593    

Legend:
Removed from v.3897  
changed lines
  Added in v.3898

  ViewVC Help
Powered by ViewVC