on xenial help sign in
allow rotating when there is no app focused
e20bd7bMichael Zanetti
qml/Stage/Stage.qml+1−1
@@ -64,7 +64,7 @@ FocusScope {
64 // application windows never rotate independently
64 // application windows never rotate independently
65 property int mainAppWindowOrientationAngle: shellOrientationAngle
65 property int mainAppWindowOrientationAngle: shellOrientationAngle
66
66
67− property bool orientationChangesEnabled: priv.focusedAppDelegate && priv.focusedAppDelegate.orientationChangesEnabled
67+ property bool orientationChangesEnabled: !priv.focusedAppDelegate || priv.focusedAppDelegate.orientationChangesEnabled
68
68
69 property int supportedOrientations: {
69 property int supportedOrientations: {
70 if (mainApp) {
70 if (mainApp) {