/[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 296 by capela, Wed Nov 17 11:51:49 2004 UTC revision 302 by capela, Wed Nov 17 17:17:18 2004 UTC
# Line 567  bool qsamplerMainForm::loadSessionFile ( Line 567  bool qsamplerMainForm::loadSessionFile (
567      m_sFilename = sFilename;      m_sFilename = sFilename;
568      updateRecentFiles(sFilename);      updateRecentFiles(sFilename);
569      appendMessages(tr("Open session: \"%1\".").arg(sessionName(m_sFilename)));      appendMessages(tr("Open session: \"%1\".").arg(sessionName(m_sFilename)));
570        
571        // Make that an overall update.
572        m_iChangeCount++;
573      stabilizeForm();      stabilizeForm();
574      return true;      return true;
575  }  }
# Line 848  void qsamplerMainForm::editResetChannel Line 851  void qsamplerMainForm::editResetChannel
851      // Reset the existing sampler channel.      // Reset the existing sampler channel.
852      pChannel->resetChannel();      pChannel->resetChannel();
853    
854      // Refresh channel strip info.      // And force a deferred update.
855      pChannelStrip->updateChannelInfo();      m_iChangeCount++;
856  }  }
857    
858    
# Line 1507  void qsamplerMainForm::timerSlot (void) Line 1510  void qsamplerMainForm::timerSlot (void)
1510              QWidgetList wlist = m_pWorkspace->windowList();              QWidgetList wlist = m_pWorkspace->windowList();
1511              for (int iChannel = 0; iChannel < (int) wlist.count(); iChannel++) {              for (int iChannel = 0; iChannel < (int) wlist.count(); iChannel++) {
1512                  qsamplerChannelStrip *pChannelStrip = (qsamplerChannelStrip *) wlist.at(iChannel);                  qsamplerChannelStrip *pChannelStrip = (qsamplerChannelStrip *) wlist.at(iChannel);
1513                  if (pChannelStrip && pChannelStrip->isVisible())                  if (pChannelStrip && pChannelStrip->isVisible()) {
1514                      pChannelStrip->updateChannelUsage();                      // If we can't make it clean, try next time.
1515                        if (!pChannelStrip->updateChannelUsage())
1516                            m_iChangeCount++;
1517                    }
1518              }              }
1519          }          }
1520      }      }

Legend:
Removed from v.296  
changed lines
  Added in v.302

  ViewVC Help
Powered by ViewVC