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

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

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

revision 2112 by capela, Wed Jul 21 18:33:25 2010 UTC revision 2113 by capela, Thu Jul 22 08:12:12 2010 UTC
# Line 228  MainForm::MainForm ( QWidget *pParent ) Line 228  MainForm::MainForm ( QWidget *pParent )
228    
229  #else   // HAVE_SIGNAL_H  #else   // HAVE_SIGNAL_H
230    
231          m_pSocketNotifier = NULL;          m_pUsr1Notifier = NULL;
232                    
233  #endif  // !HAVE_SIGNAL_H  #endif  // !HAVE_SIGNAL_H
234    
# Line 691  void MainForm::customEvent ( QEvent* pEv Line 691  void MainForm::customEvent ( QEvent* pEv
691  // LADISH Level 1 -- SIGUSR1 signal handler.  // LADISH Level 1 -- SIGUSR1 signal handler.
692  void MainForm::handle_sigusr1 (void)  void MainForm::handle_sigusr1 (void)
693  {  {
694    #ifdef HAVE_SIGNAL_H
695    
696          char c;          char c;
697    
698          if (::read(g_fdUsr1[1], &c, sizeof(c)) > 0)          if (::read(g_fdUsr1[1], &c, sizeof(c)) > 0)
699                  saveSession(false);                  saveSession(false);
700    
701    #endif
702  }  }
703    
704    

Legend:
Removed from v.2112  
changed lines
  Added in v.2113

  ViewVC Help
Powered by ViewVC