summaryrefslogtreecommitdiff
path: root/noncore/settings/appearance2/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/settings/appearance2/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/main.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/noncore/settings/appearance2/main.cpp b/noncore/settings/appearance2/main.cpp
index ad24cf3..5595429 100644
--- a/noncore/settings/appearance2/main.cpp
+++ b/noncore/settings/appearance2/main.cpp
@@ -17,3 +17,3 @@
..}^=.=       =       ; Public License for more details.
-++=   -.     .`     .:
+++=   -.     .`     .:
 :     =  ...= . :.=- You should have received a copy of the GNU
@@ -30,13 +30,5 @@
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-int main ( int argc, char **argv )
-{
- QPEApplication app ( argc, argv );
-
- Appearance m;
- app. showMainDocumentWidget ( &m );
-
- return app. exec ( );
-}
-
+OPIE_EXPORT_APP( OApplicationFactory<Appearance> )