Parent Directory | Revision Log | Patch
revision 73 by capela, Mon May 10 13:20:00 2004 UTC | revision 752 by capela, Sat Aug 20 10:57:24 2005 UTC | |
---|---|---|
# | Line 55 int main ( int argc, char **argv ) | Line 55 int main ( int argc, char **argv ) |
55 | app.quit(); | app.quit(); |
56 | return 1; | return 1; |
57 | } | } |
58 | ||
59 | // Construct, setup and show the main form. | // Construct, setup and show the main form. |
60 | qsamplerMainForm w; | qsamplerMainForm w; |
61 | app.setMainWidget(&w); | |
62 | w.setup(&options); | w.setup(&options); |
63 | w.show(); | w.show(); |
64 | ||
65 | // Register the quit signal/slot. | // Register the quit signal/slot. |
66 | app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); | // app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); |
67 | ||
68 | return app.exec(); | return app.exec(); |
69 | } | } |
70 | ||
71 | // end of main.cpp | // end of main.cpp |
|
ViewVC Help | |
Powered by ViewVC |