Diffstat (limited to 'noncore/unsupported/mail2/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/mail2/main.cpp | 9 |
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 | |||
@@ -1,14 +1,9 @@ | |||
1 | #include <qpe/qpeapplication.h> | 1 | #include <qpe/qpeapplication.h> |
2 | 2 | ||
3 | #include "mainwindow.h" | 3 | #include "mainwindow.h" |
4 | 4 | ||
5 | int main(int argc, char *argv[]) | 5 | #include <opie/oapplicationfactory.h> |
6 | { | ||
7 | QPEApplication app(argc, argv); | ||
8 | 6 | ||
9 | MainWindow mw; | 7 | OPIE_EXPORT_APP( OApplicationFactory<MainWindow> ) |
10 | app.showMainWidget(&mw); | ||
11 | 8 | ||
12 | return app.exec(); | ||
13 | } | ||
14 | 9 | ||