summaryrefslogtreecommitdiff
path: root/noncore/games/wordgame/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/wordgame/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/wordgame/main.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/noncore/games/wordgame/main.cpp b/noncore/games/wordgame/main.cpp
index cd4600e..f32acff 100644
--- a/noncore/games/wordgame/main.cpp
+++ b/noncore/games/wordgame/main.cpp
@@ -23,12 +23,6 @@
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-int main( int argc, char ** argv )
-{
- QPEApplication a( argc, argv );
- WordGame mw;
- //QPEApplication::setInputMethodHint( &mw, QPEApplication::AlwaysOff );
- a.showMainWidget(&mw);
+OPIE_EXPORT_APP( OApplicationFactory<WordGame> )
- return a.exec();
-}