💾 Archived View for seydaneen.nahtgards.de › leuchtturm › dwemerartefakte › SailfishOS › Page_4.4.0.… captured on 2023-03-20 at 18:05:01.

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

--- /usr/lib/qt5/qml/Sailfish/Silica/Page.qml
+++ /usr/lib/qt5/qml/Sailfish/Silica/Page_4.4.0.58.qml
@@ -128,7 +128,13 @@
             // No common supported orientations, let the page decide
             allowed = allowedOrientations
         }
-        return allowed
+	//        return allowed
+    
+	if (__silica_applicationwindow_instance.hasOwnProperty("preventOrientationsOverride") &&
+	    __silica_applicationwindow_instance.preventOrientationsOverride) {
+	    return allowed 
+	}
+	return defaultAllowedOrientations
     }
     property alias _windowOrientation: orientationState.pageOrientation