summaryrefslogtreecommitdiff
path: root/core/pim/osearch/main.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/osearch/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/main.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/core/pim/osearch/main.cpp b/core/pim/osearch/main.cpp
index 6c18adb..9a03818 100644
--- a/core/pim/osearch/main.cpp
+++ b/core/pim/osearch/main.cpp
@@ -3,12 +3,5 @@
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-int main( int argc, char ** argv )
-{
-
- QPEApplication a( argc, argv );
- MainWindow mw;
- mw.showMaximized();
- a.showMainDocumentWidget( &mw );
- return a.exec();
-}
+OPIE_EXPORT_APP( OApplicationFactory<MainWindow> )