summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mailit/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/mailit/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/mailit/main.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/noncore/unsupported/mailit/main.cpp b/noncore/unsupported/mailit/main.cpp
index 3a3e1fc..71f8877 100644
--- a/noncore/unsupported/mailit/main.cpp
+++ b/noncore/unsupported/mailit/main.cpp
@@ -22,8 +22,4 @@
-int main(int argc, char* argv[])
-{
- QPEApplication a( argc, argv );
- MailItWindow mw(0, 0);
- a.showMainDocumentWidget(&mw);
- return a.exec();
-}
+#include <opie/oapplicationfactory.h>
+
+OPIE_EXPORT_APP( OApplicationFactory<MailItWindow> ) \ No newline at end of file