summaryrefslogtreecommitdiff
path: root/examples/touch/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/touch/main.cpp')
-rw-r--r--examples/touch/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/touch/main.cpp b/examples/touch/main.cpp
index 0d5fe39..531b6cd 100644
--- a/examples/touch/main.cpp
+++ b/examples/touch/main.cpp
@@ -34,7 +34,7 @@
extern "C" int OspMain(int argc, char *argv[])
{
-#ifdef Q_OS_TIZEN_SIMULATOR
+#ifdef Q_OS_LINUX_TIZEN_SIMULATOR
qputenv("QSG_RENDER_LOOP","windows");
#endif
qputenv("QT_QUICK_CONTROLS_STYLE","Tizen");
@@ -46,7 +46,7 @@ extern "C" int OspMain(int argc, char *argv[])
window->setIcon(QIcon(":/images/mainmenu.png"));
window->screen()->setOrientationUpdateMask(Qt::PortraitOrientation | Qt::LandscapeOrientation |
Qt::InvertedPortraitOrientation | Qt::InvertedLandscapeOrientation);
-#ifdef Q_OS_TIZEN
+#ifdef Q_OS_LINUX_TIZEN
window->setProperty("contentFollowsContentOrientation",true);
#endif
window->show();