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
@@ -12,31 +12,23 @@
    .i_,=:_.      -<s. This file is distributed in the hope that
     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
    : ..    .:,     . . . without even the implied warranty of
    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU General
..}^=.=       =       ; Public License for more details.
-++=   -.     .`     .:
+++=   -.     .`     .:
 :     =  ...= . :.=- You should have received a copy of the GNU
 -.   .:....=;==+<; General Public License along with this file;
  -_. . .   )=.  = see the file COPYING. If not, write to the
    --        :-=` Free Software Foundation, Inc.,
59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include "appearance.h"
#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> )