Commit | Line | Data |
---|---|---|
7fd59977 | 1 | #include <qapplication.h> |
2 | #include "application.h" | |
3 | ||
4 | int main( int argc, char ** argv ) | |
5 | { | |
6 | QApplication a( argc, argv ); | |
7 | ||
8 | Application *w = new Application(); | |
9 | w->setWindowTitle( "Voxel demo-application" ); | |
10 | w->show(); | |
11 | a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) ); | |
12 | return a.exec(); | |
13 | } |