summaryrefslogtreecommitdiff
path: root/noncore/apps/oxygen/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/oxygen/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/oxygen/main.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/noncore/apps/oxygen/main.cpp b/noncore/apps/oxygen/main.cpp
index c8fcdb4..ac992aa 100644
--- a/noncore/apps/oxygen/main.cpp
+++ b/noncore/apps/oxygen/main.cpp
@@ -17,13 +17,8 @@
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
#include "oxygen.h"
-int main(int argc, char **argv)
-{
- QPEApplication app(argc, argv);
- Oxygen *oxi = new Oxygen();
- app.setMainWidget(oxi);
- oxi->showMaximized();
- return app.exec();
-}
+
+OPIE_EXPORT_APP( OApplicationFactory<Oxygen> )