diff options
Diffstat (limited to 'examples/quick/window/main.cpp')
-rw-r--r-- | examples/quick/window/main.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/quick/window/main.cpp b/examples/quick/window/main.cpp index 1a9598a56c..25eb3663ab 100644 --- a/examples/quick/window/main.cpp +++ b/examples/quick/window/main.cpp @@ -59,10 +59,6 @@ int main(int argc, char* argv[]) { QGuiApplication app(argc, argv); - const auto screens = QGuiApplication::screens(); - for (QScreen *screen : screens) - screen->setOrientationUpdateMask(Qt::LandscapeOrientation | Qt::PortraitOrientation | - Qt::InvertedLandscapeOrientation | Qt::InvertedPortraitOrientation); QQmlEngine engine; QQmlComponent component(&engine); QQuickWindow::setDefaultAlphaBuffer(true); |