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:
committed by
The Qt Project
parent
05d648833b
commit
a013a72434
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user