on xenial help sign in
fix the panelState nocking in tst_DesktopStage
2317308Michael Zanetti
qml/Stage/Stage.qml+1
@@ -1599,6 +1599,7 @@ FocusScope {
1599 height: implicitHeight
1599 height: implicitHeight
1600 highlightSize: windowInfoItem.iconMargin / 2
1600 highlightSize: windowInfoItem.iconMargin / 2
1601 boundsItem: boundariesForWindowPlacement
1601 boundsItem: boundariesForWindowPlacement
1602+ panelState: root.panelState
1602
1603
1603 requestedWidth: appDelegate.requestedWidth
1604 requestedWidth: appDelegate.requestedWidth
1604 requestedHeight: appDelegate.requestedHeight
1605 requestedHeight: appDelegate.requestedHeight
tests/qmltests/Stage/tst_DesktopStage.qml+2−2
@@ -45,7 +45,7 @@ Item {
45 }
45 }
46
46
47 PanelState {
47 PanelState {
48− id: panelState
48+ id: panelStateObj
49 }
49 }
50
50
51 Component.onCompleted: {
51 Component.onCompleted: {
@@ -100,7 +100,7 @@ Item {
100 topLevelSurfaceList: topSurfaceList
100 topLevelSurfaceList: topSurfaceList
101 interactive: true
101 interactive: true
102 mode: "windowed"
102 mode: "windowed"
103− panelState: panelState
103+ panelState: panelStateObj
104 }
104 }
105 }
105 }
106 }
106 }