summaryrefslogtreecommitdiff
path: root/noncore/games/minesweep/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/minesweep/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/minesweep/main.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/noncore/games/minesweep/main.cpp b/noncore/games/minesweep/main.cpp
index 83de9a3..bd70f7c 100644
--- a/noncore/games/minesweep/main.cpp
+++ b/noncore/games/minesweep/main.cpp
@@ -23,12 +23,5 @@
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-int main( int argc, char** argv )
-{
- QPEApplication a( argc, argv );
+OPIE_EXPORT_APP( OApplicationFactory<MineSweep> )
- MineSweep ms;
- QPEApplication::setInputMethodHint( &ms, QPEApplication::AlwaysOff );
- a.showMainWidget( &ms );
-
- return a.exec();
-}