on xenial help sign in
drop unused mainAppDelegate var
63bf91fLukáš Tinkl
qml/Stages/AbstractStage.qml−1
@@ -46,7 +46,6 @@ FocusScope {
46
46
47 // To be read from outside
47 // To be read from outside
48 property var mainApp: null
48 property var mainApp: null
49− property var mainAppDelegate: null
50 property int mainAppWindowOrientationAngle: 0
49 property int mainAppWindowOrientationAngle: 0
51 property bool orientationChangesEnabled
50 property bool orientationChangesEnabled
52 property int supportedOrientations: Qt.PortraitOrientation
51 property int supportedOrientations: Qt.PortraitOrientation
qml/Stages/DesktopStage.qml−1
@@ -42,7 +42,6 @@ AbstractStage {
42 property bool spreadShown: spread.state == "altTab"
42 property bool spreadShown: spread.state == "altTab"
43
43
44 mainApp: priv.focusedAppDelegate ? priv.focusedAppDelegate.application : null
44 mainApp: priv.focusedAppDelegate ? priv.focusedAppDelegate.application : null
45− mainAppDelegate: priv.focusedAppDelegate
46
45
47 // application windows never rotate independently
46 // application windows never rotate independently
48 mainAppWindowOrientationAngle: shellOrientationAngle
47 mainAppWindowOrientationAngle: shellOrientationAngle
qml/Stages/WindowControlsOverlay.qml+1
@@ -27,6 +27,7 @@ Item {
27 // to be set from outside
27 // to be set from outside
28 property Item target // appDelegate
28 property Item target // appDelegate
29
29
30+ // to be read from outside
30 readonly property alias overlayShown: overlay.visible
31 readonly property alias overlayShown: overlay.visible
31
32
32 TouchGestureArea {
33 TouchGestureArea {