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>
This commit is contained in:
Samuel Rødal
2012-12-05 17:34:11 +01:00
committed by The Qt Project
parent 05d648833b
commit a013a72434
2 changed files with 0 additions and 2 deletions

View File

@@ -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);