summaryrefslogtreecommitdiff
path: root/noncore/games/tetrix/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/tetrix/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/tetrix/main.cpp9
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
@@ -24,10 +24,5 @@
-int main( int argc, char **argv )
-{
- QPEApplication a(argc,argv);
+#include <opie/oapplicationfactory.h>
- QTetrix *tetrix = new QTetrix;
- a.showMainWidget(tetrix);
+OPIE_EXPORT_APP( OApplicationFactory<QTetrix> )
- return a.exec();
-}