Diffstat (limited to 'noncore/apps/opie-bartender/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-bartender/main.cpp | 12 |
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 @@ -9,15 +9,7 @@ #include "bartender.h" #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> ) |