summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-bartender/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-bartender/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-bartender/main.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/noncore/apps/opie-bartender/main.cpp b/noncore/apps/opie-bartender/main.cpp
index eefda7f..593f693 100644
--- a/noncore/apps/opie-bartender/main.cpp
+++ b/noncore/apps/opie-bartender/main.cpp
@@ -11,13 +11,5 @@
#include <qpe/qpeapplication.h>
+#include <opie2/oapplicationfactory.h>
-//Bartender *bart;
-int main( int argc, char ** argv )
-{
- QPEApplication a( argc, argv );
-
- Bartender bart;
- a.showMainWidget( &bart );
-
- return a.exec();
-}
+OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<Bartender> )