Mercurial > sdl-ios-xcode
comparison src/main/linux/SDL_Qtopia_main.cc @ 612:0648505b1f8b
Fixed video intitialization problem on Qtopia (thanks David!)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 15 Apr 2003 16:04:31 +0000 |
parents | 969fbd4dcd4e |
children |
comparison
equal
deleted
inserted
replaced
611:0a2ef9e8ca41 | 612:0648505b1f8b |
---|---|
34 int main(int argc, char *argv[]) | 34 int main(int argc, char *argv[]) |
35 { | 35 { |
36 #ifdef QWS | 36 #ifdef QWS |
37 // This initializes the Qtopia application. It needs to be done here | 37 // This initializes the Qtopia application. It needs to be done here |
38 // because it parses command line options. | 38 // because it parses command line options. |
39 app = new QPEApplication(argc, argv); | |
39 QWidget dummy; | 40 QWidget dummy; |
40 app = new QPEApplication(argc, argv); | |
41 app->showMainWidget(&dummy); | 41 app->showMainWidget(&dummy); |
42 atexit(cleanupQCop); | 42 atexit(cleanupQCop); |
43 #endif | 43 #endif |
44 // Exit here because if return is used, the application | 44 // Exit here because if return is used, the application |
45 // doesn't seem to quit correctly. | 45 // doesn't seem to quit correctly. |