}
QTranslator translator;
QString dir = "translations";
- //dir = ":/translations";
+ dir = ":/translations";
#if defined(MEEGO_EDITION_HARMATTAN)
dir = ":/translations";
#endif
#if defined(Q_WS_MAEMO_5)
qputenv("N900_PORTRAIT_SENSORS", "1");
//viewer.setMainQmlFile(QLatin1String("qml/ubi/meego_main.qml"));
- viewer.setSource(QUrl("qrc:///qml/ubi/meego_main.qml"));
- viewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape);
+ viewer.setSource(QUrl("qrc:///qml/ubi/main.qml"));
+ //viewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape);
+ viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
viewer.setGeometry(QRect(0,0,800,480));
#endif