summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/builder/main.cpp
diff options
context:
space:
mode:
authorSarah Smith <sarah.j.smith@nokia.com>2011-07-20 17:07:36 +1000
committerQt by Nokia <qt-info@nokia.com>2011-07-20 09:12:21 +0200
commite57220fa8d0527ba6684eba415f1a578852b19a3 (patch)
treefd7797784b0ff22498eca8546b933fa7ecf94b8e /examples/qt3d/builder/main.cpp
parent33f1bd964423010a3ef8000936e7be6ed6786ed4 (diff)
Remove all Symbian code from the repo.
We continue with Symbian for the Qt4 program but since Qt5 support for symbian is not implemented and if it is will likely look very different, remove this code for now. Change-Id: Iced82075e37e3685f7247a7558c298adb54e10ef Reviewed-on: http://codereview.qt.nokia.com/1863 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sarah Jane Smith <sarah.j.smith@nokia.com>
Diffstat (limited to 'examples/qt3d/builder/main.cpp')
-rw-r--r--examples/qt3d/builder/main.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/qt3d/builder/main.cpp b/examples/qt3d/builder/main.cpp
index 29e9f1e68..46c68467e 100644
--- a/examples/qt3d/builder/main.cpp
+++ b/examples/qt3d/builder/main.cpp
@@ -46,10 +46,7 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
BuilderView view;
-#ifdef Q_OS_SYMBIAN
- view.setAttribute(Qt::WA_LockLandscapeOrientation, true);
- view.showFullScreen();
-#else
+
if (view.stereoType() != QGLView::RedCyanAnaglyph)
view.camera()->setEyeSeparation(0.3f);
if (QApplication::arguments().contains(QLatin1String("-maximize")))
@@ -58,6 +55,6 @@ int main(int argc, char *argv[])
view.showFullScreen();
else
view.show();
-#endif
+
return app.exec();
}