summaryrefslogtreecommitdiff
path: root/noncore/games/kcheckers/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/games/kcheckers/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/kcheckers/main.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/noncore/games/kcheckers/main.cpp b/noncore/games/kcheckers/main.cpp
index b8dd620..6ac570a 100644
--- a/noncore/games/kcheckers/main.cpp
+++ b/noncore/games/kcheckers/main.cpp
@@ -3,16 +3,8 @@
#include <qfont.h>
#include "kcheckers.h"
+#include <opie/oapplicationfactory.h>
+OPIE_EXPORT_APP( OApplicationFactory<KCheckers> )
-int main(int argc, char *argv[])
-{
- QPEApplication app(argc,argv);
-
- KCheckers kcheckers;
- app.setMainWidget(&kcheckers);
- kcheckers.showMaximized();
-
- return app.exec();
-}