summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/main.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/noncore/net/opieirc/main.cpp b/noncore/net/opieirc/main.cpp
index 43e63af..39acfcc 100644
--- a/noncore/net/opieirc/main.cpp
+++ b/noncore/net/opieirc/main.cpp
@@ -1,10 +1,7 @@
#include <qpe/qpeapplication.h>
#include "mainwindow.h"
-int main(int argc, char **argv) {
- QPEApplication a(argc, argv);
- MainWindow mw;
- a.showMainWidget(&mw);
- return a.exec();
-}
+#include <opie/oapplicationfactory.h>
+
+OPIE_EXPORT_APP( OApplicationFactory<MainWindow> )