Diffstat (limited to 'core/settings/light-and-power/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/light-and-power/main.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/core/settings/light-and-power/main.cpp b/core/settings/light-and-power/main.cpp index ecacf69..68d433b 100644 --- a/core/settings/light-and-power/main.cpp +++ b/core/settings/light-and-power/main.cpp @@ -24,15 +24,6 @@ #include <qpe/qcopenvelope_qws.h> #include <qpe/global.h> +#include <opie/oapplicationfactory.h> -int main(int argc, char** argv) -{ - QPEApplication a(argc,argv); - - LightSettings dlg; - - a.showMainWidget(&dlg); - - return a.exec(); -} - +OPIE_EXPORT_APP( OApplicationFactory<LightSettings> ) |