summaryrefslogtreecommitdiff
path: root/core/settings/light-and-power/main.cpp
Side-by-side diff
Diffstat (limited to 'core/settings/light-and-power/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/light-and-power/main.cpp13
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
@@ -23,16 +23,7 @@
#include <qpe/qpeapplication.h>
#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> )