summaryrefslogtreecommitdiffstats
path: root/examples/quick3d/sphere/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick3d/sphere/main.cpp')
-rw-r--r--examples/quick3d/sphere/main.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/quick3d/sphere/main.cpp b/examples/quick3d/sphere/main.cpp
index 003ed28a1..120664d03 100644
--- a/examples/quick3d/sphere/main.cpp
+++ b/examples/quick3d/sphere/main.cpp
@@ -54,18 +54,12 @@ int main(int argc, char *argv[])
QString qml = q_get_qmldir(QLatin1String("qml/sphere.qml"));
view.setSource(QUrl::fromLocalFile(qml));
-#ifdef Q_OS_SYMBIAN
- view.setAttribute(Qt::WA_LockLandscapeOrientation, true);
- view.setResizeMode(QDeclarativeView::SizeRootObjectToView);
- view.showFullScreen();
-#else
if (QApplication::arguments().contains(QLatin1String("-maximize")))
view.showMaximized();
else if (QApplication::arguments().contains(QLatin1String("-fullscreen")))
view.showFullScreen();
else
view.show();
-#endif
return app.exec();
}