diff options
author | Samuel Rødal <samuel.rodal@digia.com> | 2012-12-05 17:34:11 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-06 17:26:43 +0100 |
commit | a013a72434ac598c2a30c677054cae08e315265e (patch) | |
tree | 9b1069f878eee179d8940ce72640bd9425f92c57 /examples | |
parent | 05d648833bebd243ae7c06e86c28c4e9da1531b9 (diff) |
Get rid of useless requestOrientation() calls in the examples.
requestOrientation() has no effect currently, and its intended effect
was probably different from what the examples want to achieve.
Change-Id: Ie3235346bd366d5f3468c605ec34394eab9417a7
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/multimedia/video/qmlvideo/main.cpp | 1 | ||||
-rw-r--r-- | examples/multimedia/video/qmlvideofx/main.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/examples/multimedia/video/qmlvideo/main.cpp b/examples/multimedia/video/qmlvideo/main.cpp index 149fc7a85..86b91482b 100644 --- a/examples/multimedia/video/qmlvideo/main.cpp +++ b/examples/multimedia/video/qmlvideo/main.cpp @@ -110,7 +110,6 @@ int main(int argc, char *argv[]) QmlApplicationViewer viewer; - viewer.requestOrientation(Qt::LandscapeOrientation); viewer.setMainQmlFile(QLatin1String("qml/qmlvideo/main.qml")); QQuickItem *rootObject = viewer.rootObject(); rootObject->setProperty("source1", url1); diff --git a/examples/multimedia/video/qmlvideofx/main.cpp b/examples/multimedia/video/qmlvideofx/main.cpp index dff51776a..92e476a1e 100644 --- a/examples/multimedia/video/qmlvideofx/main.cpp +++ b/examples/multimedia/video/qmlvideofx/main.cpp @@ -99,7 +99,6 @@ int main(int argc, char *argv[]) QmlApplicationViewer viewer; - viewer.requestOrientation(Qt::LandscapeOrientation); viewer.setMainQmlFile(QLatin1String("qml/qmlvideofx/") + MainQmlFile); QQuickItem *rootObject = viewer.rootObject(); rootObject->setProperty("fileName", fileName); |