diff 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
line wrap: on
line diff
--- a/src/main/linux/SDL_Qtopia_main.cc	Tue Apr 15 16:02:08 2003 +0000
+++ b/src/main/linux/SDL_Qtopia_main.cc	Tue Apr 15 16:04:31 2003 +0000
@@ -36,8 +36,8 @@
 #ifdef QWS
   // This initializes the Qtopia application. It needs to be done here
   // because it parses command line options.
+  app = new QPEApplication(argc, argv);
   QWidget dummy;
-  app = new QPEApplication(argc, argv);
   app->showMainWidget(&dummy);
   atexit(cleanupQCop);
 #endif