-rw-r--r-- | noncore/games/tetrix/main.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/noncore/games/tetrix/main.cpp b/noncore/games/tetrix/main.cpp index e36d52d..fcf4b33 100644 --- a/noncore/games/tetrix/main.cpp +++ b/noncore/games/tetrix/main.cpp | |||
@@ -22,12 +22,7 @@ | |||
22 | 22 | ||
23 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
24 | 24 | ||
25 | int main( int argc, char **argv ) | 25 | #include <opie/oapplicationfactory.h> |
26 | { | ||
27 | QPEApplication a(argc,argv); | ||
28 | 26 | ||
29 | QTetrix *tetrix = new QTetrix; | 27 | OPIE_EXPORT_APP( OApplicationFactory<QTetrix> ) |
30 | a.showMainWidget(tetrix); | ||
31 | 28 | ||
32 | return a.exec(); | ||
33 | } | ||