drop unused mainAppDelegate var
commit63bf91fd9e26a00b21727d9a718bbebe843dccda
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateThu 26 May 2016, 13:17 (10 years ago)
parent1ff9050
qml/Stages/AbstractStage.qml−1
@@ -46,7 +46,6 @@ FocusScope {
4646
4747 // To be read from outside
4848 property var mainApp: null
49− property var mainAppDelegate: null
5049 property int mainAppWindowOrientationAngle: 0
5150 property bool orientationChangesEnabled
5251 property int supportedOrientations: Qt.PortraitOrientation
qml/Stages/DesktopStage.qml−1
@@ -42,7 +42,6 @@ AbstractStage {
4242 property bool spreadShown: spread.state == "altTab"
4343
4444 mainApp: priv.focusedAppDelegate ? priv.focusedAppDelegate.application : null
45− mainAppDelegate: priv.focusedAppDelegate
4645
4746 // application windows never rotate independently
4847 mainAppWindowOrientationAngle: shellOrientationAngle
qml/Stages/WindowControlsOverlay.qml+1
@@ -27,6 +27,7 @@ Item {
2727 // to be set from outside
2828 property Item target // appDelegate
2929
30+ // to be read from outside
3031 readonly property alias overlayShown: overlay.visible
3132
3233 TouchGestureArea {