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

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

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

revision 73 by capela, Mon May 10 13:20:00 2004 UTC revision 753 by capela, Wed Aug 24 17:44:59 2005 UTC
# Line 26  Line 26 
26  #include "qsamplerOptions.h"  #include "qsamplerOptions.h"
27  #include "qsamplerMainForm.h"  #include "qsamplerMainForm.h"
28    
 #include "config.h"  
   
29  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
30  // main - The main program trunk.  // main - The main program trunk.
31  //  //
# Line 55  int main ( int argc, char **argv ) Line 53  int main ( int argc, char **argv )
53          app.quit();          app.quit();
54          return 1;          return 1;
55      }      }
56        
57      // Construct, setup and show the main form.      // Construct, setup and show the main form.
58      qsamplerMainForm w;      qsamplerMainForm w;
59            app.setMainWidget(&w);
60      w.setup(&options);      w.setup(&options);
61      w.show();      w.show();
62    
63      // Register the quit signal/slot.      // Register the quit signal/slot.
64      app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));      // app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
65    
66      return app.exec();      return app.exec();
67  }  }
68    
69  // end of main.cpp  // end of main.cpp
   

Legend:
Removed from v.73  
changed lines
  Added in v.753

  ViewVC Help
Powered by ViewVC