From 3e12951c0b35041920989d6089ddb6c2f5c2d3d1 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Tue, 24 Mar 2020 13:15:54 +0000 Subject: Remove QScreen::orientationUpdateMask It simplifies the API and reduces surprise to have rotation working by default. On Android, the manifest specifies which orientations the application has been designed to support; on iOS, it is controlled via the UISupportedInterfaceOrientations property list key. In addition, QWindow::contentOrientation() is another way to give a hint to the window manager, or on iOS to directly control whether the window's rotation is locked or not. Task-number: QTBUG-35427 Task-number: QTBUG-38576 Task-number: QTBUG-44569 Task-number: QTBUG-51012 Task-number: QTBUG-83055 Change-Id: Ieed818497f686399db23813269af322bfdd237af Reviewed-by: Richard Moe Gustavsen --- src/gui/kernel/qplatformscreen.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gui/kernel/qplatformscreen.h') diff --git a/src/gui/kernel/qplatformscreen.h b/src/gui/kernel/qplatformscreen.h index 0be7646032..acad5c246b 100644 --- a/src/gui/kernel/qplatformscreen.h +++ b/src/gui/kernel/qplatformscreen.h @@ -125,7 +125,6 @@ public: virtual Qt::ScreenOrientation nativeOrientation() const; virtual Qt::ScreenOrientation orientation() const; - virtual void setOrientationUpdateMask(Qt::ScreenOrientations mask); virtual QWindow *topLevelAt(const QPoint &point) const; QWindowList windows() const; -- cgit v1.2.3