/[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 417 by capela, Thu Feb 24 12:10:54 2005 UTC revision 418 by capela, Wed Mar 2 16:23:10 2005 UTC
# Line 173  void qsamplerMainForm::destroy (void) Line 173  void qsamplerMainForm::destroy (void)
173  {  {
174      // Do final processing anyway.      // Do final processing anyway.
175      processServerExit();      processServerExit();
176        
177      // Delete recentfiles menu.  #if defined(WIN32)
178      if (m_pRecentFilesMenu)      WSACleanup();
179          delete m_pRecentFilesMenu;  #endif
180    
181        // Finally drop any widgets around...
182        if (m_pMessages)
183            delete m_pMessages;
184        if (m_pWorkspace)
185            delete m_pWorkspace;
186    
187      // Delete status item labels one by one.      // Delete status item labels one by one.
188      if (m_status[QSAMPLER_STATUS_CLIENT])      if (m_status[QSAMPLER_STATUS_CLIENT])
189          delete m_status[QSAMPLER_STATUS_CLIENT];          delete m_status[QSAMPLER_STATUS_CLIENT];
# Line 187  void qsamplerMainForm::destroy (void) Line 194  void qsamplerMainForm::destroy (void)
194      if (m_status[QSAMPLER_STATUS_SESSION])      if (m_status[QSAMPLER_STATUS_SESSION])
195          delete m_status[QSAMPLER_STATUS_SESSION];          delete m_status[QSAMPLER_STATUS_SESSION];
196    
197      // Finally drop any widgets around...      // Delete recentfiles menu.
198      if (m_pMessages)      if (m_pRecentFilesMenu)
199          delete m_pMessages;          delete m_pRecentFilesMenu;
     if (m_pWorkspace)  
         delete m_pWorkspace;  
   
 #if defined(WIN32)  
     WSACleanup();  
 #endif  
200  }  }
201    
202    
# Line 1168  void qsamplerMainForm::helpAbout (void) Line 1169  void qsamplerMainForm::helpAbout (void)
1169  void qsamplerMainForm::stabilizeForm (void)  void qsamplerMainForm::stabilizeForm (void)
1170  {  {
1171      // Update the main application caption...      // Update the main application caption...
1172      QString sSessioName = sessionName(m_sFilename);      QString sSessionName = sessionName(m_sFilename);
1173      if (m_iDirtyCount > 0)      if (m_iDirtyCount > 0)
1174          sSessioName += '*';          sSessionName += '*';
1175      setCaption(tr(QSAMPLER_TITLE " - [%1]").arg(sSessioName));      setCaption(tr(QSAMPLER_TITLE " - [%1]").arg(sSessionName));
1176    
1177      // Update the main menu state...      // Update the main menu state...
1178      qsamplerChannelStrip *pChannelStrip = activeChannelStrip();      qsamplerChannelStrip *pChannelStrip = activeChannelStrip();

Legend:
Removed from v.417  
changed lines
  Added in v.418

  ViewVC Help
Powered by ViewVC