summaryrefslogtreecommitdiff
path: root/core/settings/citytime/main.cpp
Side-by-side diff
Diffstat (limited to 'core/settings/citytime/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/settings/citytime/main.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/core/settings/citytime/main.cpp b/core/settings/citytime/main.cpp
index e8664c6..69bfe44 100644
--- a/core/settings/citytime/main.cpp
+++ b/core/settings/citytime/main.cpp
@@ -11,20 +11,15 @@
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#include "citytime.h"
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-int main( int argc, char** argv )
-{
- QPEApplication a( argc, argv );
- CityTime main;
- a.showMainWidget( &main );
- return a.exec();
-}
+OPIE_EXPORT_APP( OApplicationFactory<CityTime> )