/[svn]/qsampler/trunk/src/qsamplerMainForm.ui.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMainForm.ui.h

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

revision 344 by capela, Tue Jan 18 13:53:04 2005 UTC revision 369 by capela, Fri Feb 11 13:30:21 2005 UTC
# Line 556  bool qsamplerMainForm::loadSessionFile ( Line 556  bool qsamplerMainForm::loadSessionFile (
556      if (piChannelIDs == NULL) {      if (piChannelIDs == NULL) {
557          appendMessagesClient("lscp_list_channels");          appendMessagesClient("lscp_list_channels");
558          appendMessagesError(tr("Could not get current list of channels.\n\nSorry."));          appendMessagesError(tr("Could not get current list of channels.\n\nSorry."));
559      }      } else {
560                        // Try to (re)create each channel.
561      // Try to (re)create each channel.                  m_pWorkspace->setUpdatesEnabled(false);
562      m_pWorkspace->setUpdatesEnabled(false);                  for (int iChannel = 0; piChannelIDs[iChannel] >= 0; iChannel++) {
563      for (int iChannel = 0; piChannelIDs[iChannel] >= 0; iChannel++) {                          createChannelStrip(new qsamplerChannel(this, piChannelIDs[iChannel]));
564          createChannelStrip(new qsamplerChannel(this, piChannelIDs[iChannel]));                          QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);
565          QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);                  }
566      }                  m_pWorkspace->setUpdatesEnabled(true);
567      m_pWorkspace->setUpdatesEnabled(true);          }
568    
569      // Save as default session directory.      // Save as default session directory.
570      if (m_pOptions)      if (m_pOptions)

Legend:
Removed from v.344  
changed lines
  Added in v.369

  ViewVC Help
Powered by ViewVC