summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mail2/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/mail2/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/main.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/noncore/unsupported/mail2/main.cpp b/noncore/unsupported/mail2/main.cpp
index ddacf3d..a11b4e2 100644
--- a/noncore/unsupported/mail2/main.cpp
+++ b/noncore/unsupported/mail2/main.cpp
@@ -2,13 +2,8 @@
#include "mainwindow.h"
-int main(int argc, char *argv[])
-{
- QPEApplication app(argc, argv);
+#include <opie/oapplicationfactory.h>
- MainWindow mw;
- app.showMainWidget(&mw);
+OPIE_EXPORT_APP( OApplicationFactory<MainWindow> )
- return app.exec();
-}