fix the panelState nocking in tst_DesktopStage
commit23173084ab8d926fb7c1286e38ddeadf7619a1cb
authorMichael Zanetti <michael.zanetti@canonical.com>
dateThu 23 Mar 2017, 10:47 (10 years ago)
parentd1c0163
qml/Stage/Stage.qml+1
@@ -1599,6 +1599,7 @@ FocusScope {
15991599 height: implicitHeight
16001600 highlightSize: windowInfoItem.iconMargin / 2
16011601 boundsItem: boundariesForWindowPlacement
1602+ panelState: root.panelState
16021603
16031604 requestedWidth: appDelegate.requestedWidth
16041605 requestedHeight: appDelegate.requestedHeight
tests/qmltests/Stage/tst_DesktopStage.qml+2−2
@@ -45,7 +45,7 @@ Item {
4545 }
4646
4747 PanelState {
48− id: panelState
48+ id: panelStateObj
4949 }
5050
5151 Component.onCompleted: {
@@ -100,7 +100,7 @@ Item {
100100 topLevelSurfaceList: topSurfaceList
101101 interactive: true
102102 mode: "windowed"
103− panelState: panelState
103+ panelState: panelStateObj
104104 }
105105 }
106106 }